1. Don't forget to use WindowRedraw function after objects are created
2. You can draw vertical lines as histogram

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi
if( (RSIbuffer[i+1]<50) && (RSIbuffer[i]>50) )
{
thetime=Time[i];
ObjectCreate(thetime, OBJ_VLINE, 0, thetime, 0);
ObjectSet(thetime, OBJPROP_STYLE, STYLE_DASH);
ObjectSet(thetime, OBJPROP_COLOR, Green);
}
the objective is to create a vertical line everytime RSI goes below 50.
but it seems its not a buffer. vertical lines will only be created when the chart is moving.
how to make the indicator to draw past RSIbuffer movement?
please help