You will see in the (State == State.Configure) section I have added the Kagi bar type, using user defined parameters from above.
In the OnBarUpdate() section you can see the Bool statements. "LongSignal" has some of the code commented out because it is causing an error. The semi colon after "LongSignal" is only there temporarily so it would compile. But what I need to know to fix this is how to reference the High and Low of a Kagi Bar? Because Kagi.High doesn't work.
I will also say that this strategy runs on a Kagi chart but the trend will be determined off the UniRenko with the ATR Trailing indicator.
I you could look at the rest of my code and give me any feedback or suggestions you may have, I'd really appreciate it, that would help a lot.
I know I will be back with further questions as I am only doing a bit at a time, get that right, then move on to the next bit. I haven't really started with the Trend part yet.
If UniRenko is to difficult to use I may swap to the NT8 native renko.
Cheers,
Ken.
Comment