Hello.timballingall67 wrote: Sat Jul 06, 2024 10:36 am Hello all
Has anyone used this RSI 1.1 ?
It has some good potential... From reading the code, it looks like there is a "hidden" buffer referred to as "slope"... i cant see this in the visible buffers. Digging further into code i dont think enough buffers are declared in the code. However, when i change the indicator_buffers property to 6, the program misbehaves - the chart doesnt work for me unless i change the chart timeframe to be greater than current timeframe... I think the RSI scale gets messed up - but i'm learning mq4 so not smart enough to work it out over the last 2 weeks of trial and error
I'm hoping someone, maybe @mladen could fix this please ? I was hoping to see the slope value ( 1,0,-1) visible in the buffers, as well as the chart functioning correctly.
thanks
t
I am not sure if there is any better help but you can try this...
SetIndexBuffer(0,rsi); SetIndexStyle(3,DRAW_LINE);
SetIndexBuffer(1,rsida); SetIndexStyle(3,DRAW_LINE);
SetIndexBuffer(2,rsidb); SetIndexStyle(3,DRAW_LINE);
SetIndexBuffer(3,prices); SetIndexStyle(3,DRAW_NONE);
SetIndexBuffer(4,volume); SetIndexStyle(4,DRAW_NONE);
SetIndexBuffer(5,slope); SetIndexStyle(5,DRAW_NONE);