Basically, my indicators are being plotted above and below the proper price bars as my conditions are met. However, as price moves tick by tick, the indicators stay plotted even when the conditions are no longer currently met, and incorrectly remain at the close of the pricebar.
I can set them to calculate on bar close and when the price bar closes everything works fine, and the indicators are plotted properly. However, on short time frames plotting the indicator on the close of the bar doesnt leave enough time for analysis.
I would like to see the signals update tick by tick...basically appear when all of my conditions are met, and dissappear when they are no longer currently being met. More like an alert of when conditions are being met instead of a final plotting of when they have been met.
Here is a sample of Ninja Script, any help is much appreciated:
if(CurrentBar<3)return;if((Low[0]>=Low[3])&&(Close[0]<Close[3])) DrawDiamond("tag1"+ CurrentBar.ToString(),true,0,Low[0]-(TickSize*50),Color.Black);
}
Any help is much appreciated, thank you in advance
Comment