MyOHLCratio = Close * 0.17
MyOHLCratioRounded = Round(MyOHLCratio, 0)
//Graph MyOHLCratio Coloured(0,0,0) As "My OHLC Ratio"
//Graph MyOHLCratioRounded Coloured(0,0,0) As "My OHLC Ratio Rounded"
//-----Pose Premier SL 45 pts dès ACHAT----
Slstart = Close + (Close * 0.3 / 100) //Pose Premier SL
Set Stop %Loss 0.4
//-----Seuil de déclenchement du BE (12 pts)-----
TrailingStart = Close * 0.1 / 100
TSstep = Close * 0.25 / 100 //Step (Ex : NQ=25 pts)
TimeFrame(15 Minutes)
//-----OHLC-----
My15MnOpen = Open
My15MnHigh = High
My15MnLow = Low
My15MnClose = Close
//-----OHLC-----
//-------- Appel du Sous Programme --------
My15MnCalledR0, My15MnCalledR1, My15MnCalledR2, My15MnCalledR3, My15MnCalledR4, My15MnCalledR5, My15MnCalledR6, My15MnCalledR7, My15MnCalledR8, My15MnCalledR9, My15MnCalledR10 = CALL "P11_HA_515_Called"[10, 15, 2, 0, 515, BBrange, 10, 1, 0, 9, 9, 9, 9, MyOHLCratio]