1 (edited by dubliner73 2013-10-01 16:49:49)

Topic: Logic Condition RSI with two levels

Hi Guys,

hopefully a simple question smile

I have trouble setting a strategy where RSI is one logic condition. Normally I run my strategies (based on the regular overbought/oversold levels 70-30) with two level lines, but FSB only allows one level line.
I basically want to go short if RSI over 70 (but not go long automatically if lower than 70) and go long if lower than 30.

Any way to implement this?

Feedback is highly appreciated...

Dub

Re: Logic Condition RSI with two levels

I basically want to go short if RSI over 70 (but not go long automatically if lower than 70) and go long if lower than 30.

Hello Dub,
RSI does exactly that.

OscillatorLogic(firstBar, iPrvs, adRsi, dLevel, 100 - dLevel, ref Component[1], ref Component[2], indLogic);

If you set 70 (dLevel=70) for long position, RSI will sell below 100 - 70.

https://github.com/PopovMP/Forex-Strate … ore/RSI.cs line 216.

Re: Logic Condition RSI with two levels

Hey Dub,

FSB mirrors short position opening logics, which means you set up long logics only!

In your case long is RSI lower than level 30. Therefore short will be opened when RSI is above 70.

EDIT: I have been beaten with the answer!

Re: Logic Condition RSI with two levels

Hi Guys

and first of all thanks a million to provide such a great platform and support to the community.
Will donate today for sure.

I am getting used to the mirrored FSB logic still smile

Probably got confused that I do not "see" two level lines (at 70 and 30) at the indicator.

So long RSI lower 30, will set short RSI higher 70 makes sense.

Thanks a bunch!!!