BOSS
Camarilla Pivots (D,W,M) Secrets of a Pivot BossPrimarily for equities as no provision has been made to control the timing at which the open close high low are determined, indeed, I see no straightforward mechanism to do so in Pinescript.
Development aided by: but with the entirely different calculations presented in "Secrets of a Pivot Boss" by Franklin Ochoa. And far cleaner and less-redundant code.
To trade the indicator, watch the H3,H4,H5 and L3,L4,L5 bars. There are two built-in strategies. Depending on pivot width, sell at H3 and buy at L3 with stop at H4/L4 or above. For strongly trending environments: buy at H4, cover at H5--similarly for downtrends.
666 & BKThis method uses common numbers which rule the word, 666, so ma 6,12,18,66,180 and the boss method whose ma 7, 14, 21, 77, 231.