Cribbage
Member
I have an indicator that I wanted to get in working order. Its close, but not quite doing what I want it to and I can't quite tell how its drawing the clouds I'm telling it to. Its based on a strategy John Carter describes in Mastering the Trade. Its a trend reversal strategy where you find the candle the makes the lowest low, and then trade the high of that candle on longs, and vice versa when going short. I came up with the following code to help me see these candles.
Its close, but it isn't always plotting the high of the low (and vice versa) and I can't always tell where its getting its high from. I chose a lookback of 78 because I use this on a 10min chart and thought looking back 2 days was a good place to start. Any help is appreciated.
Code:
plot LOHP = Lowest(high, 78);
plot LowestLow = Lowest(low, 78);
plot HOLP = Highest(low, 78);
plot HighestHigh = Highest(high, 78);
AddCloud(HOLP, HighestHigh, Color.WHITE, Color.LIGHT_GREEN);
AddCloud(LOHP, LowestLow, Color.RED, Color.WHITE);
Its close, but it isn't always plotting the high of the low (and vice versa) and I can't always tell where its getting its high from. I chose a lookback of 78 because I use this on a 10min chart and thought looking back 2 days was a good place to start. Any help is appreciated.