ZigoParticipant
Master
Prepairing the automatic system 50% retrace. based on the first results of a backtest.
The system run in different conditions 2 times 13 min, 1 time 14 min and 1 time 90 min. Automatic system will run till 1 june 2020.
We shall see.
Good evening, Zigo,
Is the attached code good?
Thank you for your answer
once n =5
if High[n] >= highest[2*n+1](high) then
Topy = High[n]
Topx = barindex[n]
PT=highest[n+1](high)
DRAWSEGMENT(barindex, PT, barindex[n], PT)coloured(0,205,0,255)
DRAWTEXT("T",TOPx,TOPy+AverageTrueRange[14](close),Dialog,Bold,20) coloured(0,205,0,255)
elsif Low[n] <= lowest[2*n+1](low) then
Bottemy = low[n]
Bottemx = barindex[n]
PB=lowest[n+1](low)
DRAWSEGMENT(barindex, PB, barindex[n], PB)coloured(255,55,55,255)
DRAWTEXT("B",Bottemx,Bottemy-AverageTrueRange[14](close),Dialog, bold, 20) coloured(251,55,0,255)
endif
return
Voilà ce que vous cherchiez. ?
This is what you were looking for. ?
fifi743 – 385 replies and still you use French in the English forum. Surely you know the rules by now? 🙂
Sorry, vonasi.
I made a mistake.
ZigoParticipant
Master
@fifi43
Yes, but this code is not the complete version, I wait for the results of the automatic runs.
ZigoParticipant
Master
I’m not completely ready but, the automatic runnings, I mentioned before are failed, because I made an error myself.
An hour of so ago I restarted 3 automatic runs. Dax (90min), DJ (90 min) and DJ (13 min).
See attachement for the indicator ( 2 in 1) The goal is that the indicator choose whether we go short or long.
TP’s becomes stops. I hope it will work now. Who knows?
ZigoParticipant
Master
I give up the automatic systems are stopped and give the message (see attachement).