help me on this
1. Don't forget to use WindowRedraw function after objects are created
2. You can draw vertical lines as histogram
2. You can draw vertical lines as histogram
You agree to website policy and terms of use
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