Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 05.03.21
derumuro derumuro ist offline
Mitglied
 
Registriert seit: Sep 2011
Beiträge: 55
derumuro befindet sich auf einem aufstrebenden Ast
Standard 3 Bar Trailingstop

Ich habe dazu folgendes gefunden:



Code:
	
count=1
i=0
j=i+1
tot=0
while count<4 do
 tot=tot+1
 if (low[j]>=low[i]) and (high[j]<=high[i]) then
 //inside bar
  j=j+1
 else
  count=count+1
  i=i+1
  J=i+1
 endif
wend
basso=lowest[tot](low)
alto=highest[tot](high)
 
if close>alto[1] then
 ref=basso
endif
if close<basso[1] then
 ref=alto
endif
 
return ref
Kann das Jemand in mql4 übersetzen?