I want to open a position when the price crosses an specific point of an indicator. The problem is that the indicator I want to use, only have 3 output streams of different levels and I want a level between two of these streams. The indicator streams are these.
DC25.DM= Output stream of the middle line of the Donchian Channel.
DC25.DN= Output stream of the lower line of the Donchian Channel.
DC25.DU= Output stream of the upper line of the Donchian Channel.
What I need is:
Output stream of the 1/4 line of the Donchian Channel and the output stream of the 3/4 of the Donchian Channel.
I want to know if the following expression is possible in the Strategy Wizard, and if so, why I receive an invalid formula notification.
- Code: Select all
core.crossesOver( ((DC25.DM - DC25.DN)/2), source.high, 0 )
(I manage to solve the spam notification lol)