Delete, figured it out
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
I am trying to practice my coding EA skills and created an EA around RSI levels.
When i try to back test the ea, it opens a position up on RSI level between 50-60 (range) and the example input variables are based on 70 and 30. Is this a coding issue or something to do with the back test / days off / holidays or something i am missing completely? I tried to add a print of the RSI level which showed once at 20 but not for anything else (wouldnt show, said 4756 error or something)
(2) When i back test and try to strategy optimize it also adds in rsi_buy and rsi_sell levels above 100 - i assume this is a known error or is it a cause from the code below?
(3) Also when i try to add a decimal (.) it wont let me under rsi level say 35.99 or 65.99, it wont let me add in a decimal in strategy tester?
Appreciate any assistance! ***I just notice i forgot to add in code to only open 1 position ** please ignore this factor - adding in