Индикаторы: AutoTrendAutoFib - страница 2

 
zzuegg:
cigarguy:
zzuegg:

maybe a short pm or at least a not "nofollow" link would be nice if the indicator gets posted on a different site.

//z


Thank you for the useful indicator. I was attempting to insert the price on each fib line by inserting %$ but once your indicator refreshes they disappear. Is this something that you could add in the future?

Regards,

Cigarguy

i am currently a bit busy. I don't think that the level descriptions could be modified in the code. But i have to admit i never looked for that feature. At worst case i have to create additional textobjects to write the values.


Forex Handelssysteme, Indicators and Expert Advisors



Add this . . .

           
      ObjectSet(fib1, OBJPROP_FIBOLEVELS, 9 );     
      
      int FibLevels = 0;
      double fib_level_value[9] = {0, 0.236, 0.382, 0.5, 0.618, 1, 1.618, 2.618, 4.236 };
      while(FibLevels <9 ) 
         { ObjectSet( fib1, OBJPROP_FIRSTLEVEL + FibLevels , fib_level_value[FibLevels] );
         ObjectSetFiboDescription(fib1, FibLevels, " %$" ); 
         FibLevels++; }

after here . . .

ObjectDelete(fib1);
      if(ShowFib){
      ObjectCreate(fib1,OBJ_FIBO,0,swing.date[2],swing.value[2],swing.date[1],swing.value[1]);
      ObjectSet(fib1,OBJPROP_LEVELCOLOR,FibColor);      
      ObjectSet(fib1,OBJPROP_LEVELWIDTH,FibSize);
 

Looks like this line has a typo . . .

ObjectSet(trend,OBJPROP_LEVELWIDTH,FibSize);

should it be . . .

ObjectSet(  fib1  ,OBJPROP_LEVELWIDTH,FibSize);
 
Hello dear, I don't know it's Not working in my MT4 ? when I drop to my chart suddenly Hang Up ! could you please help me how can I use the nice indicator ? Warm regards
 
Super Super Super ji