Hi, i am new to the forum.
Made a simple algo for EURUSD 1 min.
DEFPARAM CumulateOrders = false
defparam flatbefore =090000
defparam flatafter = 210000
// Conditions to enter long positions
indicator1 = SuperTrend[10,4]
c1 = (indicator1 >= close)
indicator2 = RSI[14](close)
c2 = (indicator2 < 30)
c3 = ADX[130] > 5
IF C1 AND c2 AND c3 THEN
BUY 1 CONTRACT AT MARKET
ENDIF
// Stops and targets
SET STOP pLOSS 19
SET TARGET pPROFIT 8
Hello
Simple code that looks quite ok.
Would have been good to drive a 200k test.
Oh, missed an important detail.
Since the periods have been optimized, did you try to pass the Walk Forward test with the strategy already?
I use 0,7 spread.
Nicolas:
I do not know how to use WF test, sorry.
Nicolas
Do you have the opportunity to explain very easily how the WF test works.
Have looked at the following page but do not really understand how to run the WF test in the best way.
How to use PRT walk foward test