Law of Repetition

 

Hello Everyone

Indicator based on the law Repetition, indicating a similar spark in the past on the schedule, highlighted their red dot.

MyBar = 0 //number of bar with which to compare the schedule from the end

a range of search for the body of candles.

Body.Plus = 70 //indicate an upper limit of the range of items

Body.Minus = 70 //indicate an bottom limit of the range of items

a range of search for the upper shadows

UpperShadow.Plus = 30 //indicate an upper limit of the range of items

UpperShadow.Minus = 30 //indicate an bottom limit of the range of items

a range of search for lower shadow

LowerShadow.Plus = 30 //indicate an upper limit of the range of items

LowerShadow.Minus = 30 //indicate an bottom limit of the range of items

Good luck

Files:
Reason: