
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
That sounds to me the best way to go. I know how to distinguish between the values of two different shifts in an indicator, but how do I do that with a variable based on the previous tick/bar?
Please be patient with this beginner programmer!
Actually, it may be better to use the BuySignal variable in a different way.
In this example, conditions are right for a signal when the RSI is below the 30 level and above it the next. A signal will be sent and then BuySignal set to false.
Another signal will not be sent until the RSI moves below the 30 level and above it again. Of course, in ranging periods this could be possible alternating bars.
I want to thank all of you for taking some time to give me assistance with this problem.
It is highly appreciated.