fibonacci coding help please

 

hi to all i'm trying to code a fibonacci indicator at fist how do i detect the indicator on the chart.

i already have made the levels formula to count so it can send alert at some levels but at first i must detect the fibo indicator draw on chart.any help please.   

double fiboPriceDiff = fiboPrice2-fiboPrice1;

      string fiboValue_61 = DoubleToStr(fiboPrice2-fiboPriceDiff*-0.618,Digits);

      string fiboValue_27 = DoubleToStr(fiboPrice2-fiboPriceDiff*-0.27,Digits);

      string fiboValue_11 = DoubleToStr(fiboPrice2-fiboPriceDiff*-0.113,Digits);

      string fiboValue0 = DoubleToStr(fiboPrice2-fiboPriceDiff*0.0,Digits);

      string fiboValue23 = DoubleToStr(fiboPrice2-fiboPriceDiff*0.236,Digits);

      string fiboValue38 = DoubleToStr(fiboPrice2-fiboPriceDiff*0.382,Digits);

      string fiboValue50 = DoubleToStr(fiboPrice2-fiboPriceDiff*0.50,Digits);

      string fiboValue61 = DoubleToStr(fiboPrice2-fiboPriceDiff*0.618,Digits);

      string fiboValue100 = DoubleToStr(fiboPrice2-fiboPriceDiff*1.0,Digits);

 
muruez:

hi to all i'm trying to code a fibonacci indicator at fist how do i detect the indicator on the chart.

Do not double post.

I have deleted your other topic.

Reason: