joetimismith
New member
I made a simple candlestick study, where there are two bullish candles, the only condition being the second candle has a higher close than the first.
def IsUp = close > open;
plot PatternPlot =
IsUp[1] and
IsUp[0] and
close[1] < close[0];
How do I make this into a strategy where it buys at the close of the signal (second) candle and sells at the close of whatever candle comes after it? Thanks!
def IsUp = close > open;
plot PatternPlot =
IsUp[1] and
IsUp[0] and
close[1] < close[0];
How do I make this into a strategy where it buys at the close of the signal (second) candle and sells at the close of whatever candle comes after it? Thanks!