|
10 points
Hi Tross
Center of Gravity2 has 2 buffers,1 is the red line the other is the blue, the way I coded it is when the red and blue cross happens on 1 timeframe and is verified by a cross on another timeframe to enter a buy or sell.Now you can do what you are talking about and use the previous bar which would be 0,1 & 1,1 along with 0,0 and 1,0 which would have the e.a. look back 1 bar, would be more verification, in fact 1 way to do this would be to look back right before the cross(using a <= or >= ), with your previous cog and have your current cog at the cross or a little past(using the opposite < or >, whichever would be the correct direction for buy or sell).
Hope my explanation makes sense
mrtools
|