Hi, I'm a TradeStation EasyLanguage newbie and I'm trying to make a ShowMe for a 1-bar RSI-divergence with a price-high.
I want a dot on the current bar if the current bar is higher (or equally high) as the previous bar, and RSI is lower than (or equal to) the previous RSI-value.
Something like this:
Only problem is, this doesn't work. I get a dot on every bar where high[0) >=high[1], so the RSI-values are NOT taken into account.
Can anybody help me?
Thanks from SonnyPlunger
I want a dot on the current bar if the current bar is higher (or equally high) as the previous bar, and RSI is lower than (or equal to) the previous RSI-value.
Something like this:
Code:
Input: RSI(5);
If High >= high[1] AND RSI[0] < RSI[1] then
begin
Plot1 (Close, "rsi");
end;
Only problem is, this doesn't work. I get a dot on every bar where high[0) >=high[1], so the RSI-values are NOT taken into account.
Can anybody help me?
Thanks from SonnyPlunger