Attachments forums

List of attachments posted on this forum.


All files on forums: 135996

Re: Define the fibonacci position

shaileshm, Sun Nov 03, 2019 7:51 pm

tradevn001 wrote: Sun Nov 03, 2019 7:39 pm

Thanks for the reply, I need to show the relative number so I know the position of the current price quickly. So 10 or 90 it is not so important, but if you determine the direction of the previous zigzag then you can know it is exactly 10 or 90.
As an example I have a fibonacci line with zigzag and know the exact position of the price, but I need a return function so I can set up a dashboard so I can see quickly without opening each chart.
I have used two simple functions that return the highest and lowest values ​​of the zigzag line, but they don't seem to work.
double zz1 = iCustom(NULL,0,"ZigZag",Depth,Deviation,Backstep,1,i);
double zz2 = iCustom(NULL,0,"ZigZag",Depth,Deviation,Backstep,2,i);

Have a look at these. All these codes do pretty much the same thing.
All files in topic