Hi. could someone help me go from mt4 to m5?

 

Hello I would like to know if someone could help me pass this script mt4 to mt5 I do not know anything about programming if someone could help me I appreciate it very much

//+------------------------------------------------------------------+
//|                                                   fibonaciRR.mq4 |
//|                      Copyright © 2011, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2011, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
#property copyright ""
#property link      ""


int start()
{
   if(ObjectFind("FibNode#1") != -1)
      ObjectDelete ("FibNode#1");
      ObjectDelete ("FibNode#14"); // max nos of lines drawn by Fib tool
      
   datetime drop_time=WindowTimeOnDropped();
   double drop_price=WindowPriceOnDropped();
   
   if (drop_time>0)
   {} else {drop_time=TimeCurrent(); drop_price=Ask;}
   
      
   ObjectCreate("FibNode#1",OBJ_FIBO,0,drop_time,drop_price,drop_time+5000,drop_price-(Point*300));
   ObjectSet("FibNode#1",OBJPROP_LEVELCOLOR,Yellow);
   //ObjectSet("FibNode#1",OBJPROP_LEVELSTYLE,STYLE_DASH);
   ObjectSet("FibNode#1",OBJPROP_LEVELWIDTH,2);
   ObjectSet("FibNode#1",OBJPROP_COLOR,Yellow);
   ObjectSet("FibNode#1",OBJPROP_RAY,False);
   
   ObjectSet("FibNode#1",OBJPROP_FIBOLEVELS,6);
   
   
   ObjectSet("FibNode#1",OBJPROP_FIRSTLEVEL+0,1); // entry price ... 1
   ObjectSet("FibNode#1",OBJPROP_FIRSTLEVEL+1,-0.0); // SL R ... 0
   ObjectSet("FibNode#1",OBJPROP_FIRSTLEVEL+2,2.0); // TP 0.5R 
   ObjectSet("FibNode#1",OBJPROP_FIRSTLEVEL+3,3.0); // TP 1.0R 
   ObjectSet("FibNode#1",OBJPROP_FIRSTLEVEL+4,4.0); // TP 1.5R 
   ObjectSet("FibNode#1",OBJPROP_FIRSTLEVEL+5,5.0); // TP 1.5R 
      
   
   
   ObjectSetFiboDescription( "FibNode#1", 0,"BREAK EVEN       ");
   ObjectSetFiboDescription( "FibNode#1", 1,"STOP LOSS        ");
   ObjectSetFiboDescription( "FibNode#1", 2,"TP1 1.1          ");
   ObjectSetFiboDescription( "FibNode#1", 3,"TP2 2.1          ");
   ObjectSetFiboDescription( "FibNode#1", 4,"TP3 3.1          ");
   ObjectSetFiboDescription( "FibNode#1", 5,"TP4 4.1          ");
      
   return(0);
}

 
alfredo marrero :

Hello I would like to know if someone could help me pass this script mt4 to mt5 I do not know anything about programming if someone could help me I appreciate it very much

Catch:

Files:
Fibonaci_RR.mq5  18 kb
 
Vladimir Karputov:

Catch:

wow friend, thank you very much .. how do I make the fibonacci break even position at the current price? I really appreciate your help, you are the best
 
I already understood the function of the script is placed where I drag the mouse is perfect like this! Thank you very much for your help, you are the best
Reason: