The code seems to add the higher and lower volume continuously, so I cannot find a way to discern when the swing shift occurs. Visually it is drawn correctly as I would expect, however, I cannot find where the code describes the shift in this swing.
Attached is the picture, and on the shift from spiked GREEN volume to RED volume, I would like to enter a "sell" and vice versa. Maybe someone can look into this code, and find how I could do this? I'm also sharing, since this is a great code to use, and visually I've had successful trades, using this signal along with other coded variables, but I would LOVE to have this coded in together.
Namely, maybe someone can figure out why it is drawing GREEN then RED volume bars, and where that shift occurs. Code wise, the volume counter doesn't shift the same way.
Thank you for any attempt. I've spent days on this area=(.
In simple terms, when the volume switches, how in the heck do I capture that shift, to then execute long or short - am I blind?
The indicator also attached.
Comment