I imagine this is more of a C# question than indicator question, but here goes....
I have a modified version of ZigZag (renamed ZigZagNew).
I would like to access the value of a private int...(private int trendDir.....in ZigZagNew)....from another indicator.
So.....indicator X references ZigZagNew, and indicator X uses the value of 'trendDir' from ZigZagNew.
It seems like I could make this some sort of "public' int.....but how would I go about doing this???
Thanks..........
Comment