Download MetaTrader 5

Fibonacci LOW and HIGH of the day

To add comments, please log in or register
Whoseen
49
Whoseen  

Hi there I've done my first indicator and have some probleme. The fib high to low of the day work perfectly but the fib low to high of the day doesnt shot the right level.

Can someone help me please

thank you

Whoseen 

Ernst Van Der Merwe
5253
Ernst Van Der Merwe  

The following variables/values have to be swapped around:

  }else{
  
      ObjectCreate("Fibo",OBJ_FIBO,0,OpenTime,LowPrice,CloseTime,HighPrice);
      ObjectSet("Fibo", OBJPROP_COLOR, FiboColour);
      ObjectSet("Fibo", OBJPROP_LEVELCOLOR, FiboColour);
      ObjectSet("Fibo", OBJPROP_WIDTH, 1);
      ObjectSet("Fibo", OBJPROP_FIBOLEVELS, 6);    
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+5, 0);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+4, 0.141);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+3, 0.282);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+2, 0.414);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+1, 0.642);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+0, 1);
      ObjectSetFiboDescription("Fibo", 5, "  %$ -" + " (0)");
      ObjectSetFiboDescription("Fibo", 4, "  %$ -" + " (1.41)");
      ObjectSetFiboDescription("Fibo", 3, "  %$ -" + " (2.82)");
      ObjectSetFiboDescription("Fibo", 2, "  %$ -" + " (41.4)");
      ObjectSetFiboDescription("Fibo", 1, "  %$ -" + " (64.2)");
      ObjectSetFiboDescription("Fibo", 0, "  %$ -" + " (100)");
Whoseen
49
Whoseen  
Ernst Van Der Merwe:

The following variables/values have to be swapped around:

  }else{
  
      ObjectCreate("Fibo",OBJ_FIBO,0,OpenTime,LowPrice,CloseTime,HighPrice);
      ObjectSet("Fibo", OBJPROP_COLOR, FiboColour);
      ObjectSet("Fibo", OBJPROP_LEVELCOLOR, FiboColour);
      ObjectSet("Fibo", OBJPROP_WIDTH, 1);
      ObjectSet("Fibo", OBJPROP_FIBOLEVELS, 6);    
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+5, 0);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+4, 0.141);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+3, 0.282);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+2, 0.414);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+1, 0.642);
      ObjectSet("Fibo", OBJPROP_FIRSTLEVEL+0, 1);
      ObjectSetFiboDescription("Fibo", 5, "  %$ -" + " (0)");
      ObjectSetFiboDescription("Fibo", 4, "  %$ -" + " (1.41)");
      ObjectSetFiboDescription("Fibo", 3, "  %$ -" + " (2.82)");
      ObjectSetFiboDescription("Fibo", 2, "  %$ -" + " (41.4)");
      ObjectSetFiboDescription("Fibo", 1, "  %$ -" + " (64.2)");
      ObjectSetFiboDescription("Fibo", 0, "  %$ -" + " (100)");

Thank you verry much it worked!!! :)

Whoseen 

To add comments, please log in or register