Kindly change to Prorealcode. Thanks in advance
#System
#PARAM “Wick_Multiplier”, 2.5, .5, 20
#PARAM “Body_Percentage”, .25, .1, 1
If C > O _
AND (O – L) >= ((C – O) * Wick_Multiplier) _
AND (H – C) <= ((H – L) * Body_Percentage) _
OR C < O _
AND (C – L) >= ((O – C) * Wick_Multiplier) _
AND (H – C) <= ((H – L) * Body_Percentage) _
OR C = O AND NOT C = H _
AND (H – L) >= ((H – C) * Wick_Multiplier) _
AND (H – C) <= ((H – L) * Body_Percentage) _
OR O = H AND C = H _
AND H – L >= AVG(H-L, 50) Then
Signal = LongSignal
ElseIf C < O _
AND (H – O) >= ((O – C) * Wick_Multiplier) _
AND (C – L) <= ((H – L) * Body_Percentage) _
OR C > O _
AND (H – C) >= ((C – O) * Wick_Multiplier) _
AND (C – L) <= ((H – L) * Body_Percentage) _
OR C = O AND NOT C = L _
AND (H – L) >= ((C – L) * Wick_Multiplier) _
AND (C – L) <= ((H – L) * Body_Percentage) _
OR O = L AND C = L _
AND H – L >= AVG(H-L, 50) Then
Signal = ShortSignal
End If