rottentrade
Member
Suppose I don't know what the color of the bar was on the previous day. How would I write a script to enter a trade only after two consecutive up bars or down bars?
An example would be when there is a moving average crossover, I would like to enter only when there are same colored bars (up+up or down+down)
Thx.
An example would be when there is a moving average crossover, I would like to enter only when there are same colored bars (up+up or down+down)
Thx.
Last edited: