stoploss su percentuale candela
- This topic has 6 replies, 2 voices, and was last updated 3 years ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
Similar topics:
Forums › ProRealTime forum Italiano › Supporto ProBuilder › stoploss su percentuale candela
Ciao a tutti eccomi a cercare aiuto..
vorrei creare un indicatore che prenda la percentuale della candela del giorno prima (max e min) e usi quella percentuale per tracciare una linea come stoploss.
Spero di essermi spiegato bene.
Grazie.
Quale percentuale, di cosa?
Eccolo:
|
1 2 3 4 5 |
DEFPARAM DrawOnLastBarOnly = True RangePerCent = (((high / low) - 1) * 100) * -1 DrawSegment(BarIndex,low,BarIndex + 5,low) DrawText("RangePerCent% #RangePerCent#",BarIndex+13,low) RETURN |
Grazie Roberto.
Sono riuscito ad aggiungere anche il prezzo.
|
1 2 3 4 5 6 7 |
DEFPARAM DrawOnLastBarOnly = True RangePerCent = (((high / low) - 1) * 100) * -1 Prezzo = (close) + RangePerCent DrawSegment(BarIndex,low,BarIndex + 5,low) DrawText("RangePerCent% #RangePerCent#",BarIndex+13,low) DrawText("Stop #Prezzo#",BarIndex+30,low) RETURN |
Find exclusive trading pro-tools on