Contents:
Page of 1.
Filtered by:. Previous template Next.
How to set profit target bollinger Bands , PM. Hi,I can't find a solution how to set the profit target at the middle band of the bollinger indicator in the strategy builder. Is there somebody that can help me? Last edited by Italianforex ; , PM. Tags: None.
Hello Italianforex, Thanks for your post and welcome to the NinjaTrader forums! Are you using the NT8 Strategy Builder or are you writing directly in Ninjascript to create your strategy?
Paul H. NinjaTrader Customer Service. Comment Post Cancel.
I'm usiny NT8 Strategy Builder. Hello Italianforex, Thanks for your reply.
The strategy builder provides a SetProfitTarget however this cannot be used for a dynamically changing value such as the Bollinger as the profit target is set when the strategy is loaded. Hello, I'm facing a similar problem I want to exit at the upper bollinger band. I tried to create a dynamic profit target on the upper band using the strategy builder but it didn't work.
Could you please provide a sample code for this solution? The 3 steps above weren't enough for me sorry, I can't code.
Thank you. Hello DudaoRJ, Thanks for your post.
Description. Developed by John Bollinger, Bollinger Bands are an indicator that allows users to compare volatility and relative price levels over a period time. The. Developed by John Bollinger, Bollinger Bands are an indicator that allows users to compare volatility and relative price levels over a period time. The indicator.
Latest Posts. Started by gbrad , Today, AM. What kind of execution is this? Started by nailui , Today, AM. Started by Taddypole , Today, AM. Strategy Building Wizard - trade execution by doood. Using the standard deviation ensures that the bands will react quickly to price movements and reflect periods of high and low volatility.
Sharp price increases or decreases , and hence volatility, will lead to a widening of the bands. Courtesy of StockCharts. Returns upper band value Bollinger double numStdDev , int period.
Python version py3. In other words, if an SMA midband is used, the two indicators will plot identically if the same parameters are used for the other settings. Both indicators offers a selection of 30 different moving averages for calculating the midband. This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. Could you please provide a sample code for this solution?
Upper[ int barsAgo ]. Returns lower band value Bollinger double numStdDev , int period.
Lower[ int barsAgo ]. ToString ;.