I could use a hand with some code please.
I need to know how to click on either the high or low of a bar, (let's say the low of a bar for this example), we'll call this low "point A", and capture the price, then click on a the high or low of a second bar, (for this example a high), which we'll call "point B", and capture this price as well as well as the bar count from "point A" to "point B".
The 2 prices I would store in variables, the bar count would also go to a variable.
I would also with the same 2 clicks like to draw a Gann Fan on the chart using the speed of the range clicked on using a calculation involving the price and time value stored in the variables.
I am not sure where the click would have to be? Either on the bar either above or below the mid point?
Or above the high and below the low? Or perhaps something else?
Not sure if any of the native Gann Fan methods when called actually draw a Gann fan that looks the same as the one in the drawing tools and automatically has the same adjustable properties and parameters show in the indi properties window? But would like to know.
P.S. I have just done a C# coding course and have successfully coded two indicators so far.
I have found coding windows programs in Visual Studio much easier than coding indicators in NT7.
Mainly because all the learning was coding windows programs in Visual Studio, so I am reasonably familiar with that stuff. But Not so familiar with what's what in Ninja Script.
I'd really appreciate some guidance.
Cheers,
Ken.
Comment