Pls Help to Develop EA with This Code

 

Hello all It would be nice of you, if any one help me and generate one EA for me for following CODE thanks//+------------------------------------------------------------------+//| SKYFXSYSTEM.mq4 |//| copyright © 2012, SKYFXSYSTEM |//| http:/SKYFXSYSTEM.COM |//| INFO@SKYFXSYSTEM.COM |//+------------------------------------------------------------------+#property copyright "Copyright © 2012, SKYFXSYTEM"#property link "http:/SKYFXSYSTEM.COM"//---- indicator settings#property indicator_chart_window#property indicator_buffers 4#property indicator_color1 YellowGreen#property indicator_color2 OrangeRed#property indicator_color3 YellowGreen#property indicator_color4 OrangeRed#property indicator_width1 1#property indicator_width2 1#property indicator_width3 1#property indicator_width4 1//---- indicator parametersextern string __Copyright__ = "http://SKYFXSYSTEM.COM";extern int AtrPeriod = 8;extern bool Show_TP_SL = true;extern bool Show_Levels = true;extern color BuyColor = YellowGreen;extern color SellColor = OrangeRed;extern color FontColor = Yellow ;extern int DisplayDecimals = 4;extern int PosX = 25;extern int PosY = 25;extern bool SoundAlert = false;//---- indicator buffersdouble ExtMapBuffer1[];double ExtMapBuffer2[];double ExtMapBuffer3[];double ExtMapBuffer4[];double Atr;//+------------------------------------------------------------------+//| Custom indicator initialization function |//+------------------------------------------------------------------+int init() {//---- drawing settings IndicatorBuffers(4); SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,233); SetIndexBuffer(0,ExtMapBuffer1); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,234); SetIndexBuffer(1,ExtMapBuffer2); SetIndexStyle(2,DRAW_ARROW); SetIndexArrow(2,167);//119 SetIndexBuffer(2,ExtMapBuffer3); SetIndexStyle(3,DRAW_ARROW); SetIndexArrow(3,167);//119 SetIndexBuffer(3,ExtMapBuffer4); SetIndexLabel(0,"BUY"); SetIndexLabel(1,"SELL"); SetIndexLabel(2,"TakeProfit"); SetIndexLabel(3,"StopLoss"); //---- IndicatorShortName("SKYFXSYSTEM"); ObjectCreate("SKYFXSYSTEMIndName",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMIndName",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEMIndName",OBJPROP_XDISTANCE,PosX+20); ObjectSet("SKYFXSYSTEMIndName",OBJPROP_YDISTANCE,PosY); ObjectSetText("SKYFXSYSTEMIndName","SKYFXSYSTEM",8,"Lucida Sans Unicode",FontColor); ObjectCreate("SKYFXSYSTEMLine0",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMLine0",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEM0",OBJPROP_XDISTANCE,PosX+5); ObjectSet("SKYFXSYSTEMLine0",OBJPROP_YDISTANCE,PosY+8); ObjectSetText("SKYFXSYSTEMLine0","------------------",8,"Tahoma",FontColor); ObjectCreate("SKYFXSYSTEMLine1",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMLine1",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEMLine1",OBJPROP_XDISTANCE,PosX+5); ObjectSet("SKYFXSYSTEMLine1",OBJPROP_YDISTANCE,PosY+10); ObjectSetText("SKYFXSYSTEMLine1","------------------",8,"Tahoma",FontColor); ObjectCreate("SKYFXSYSTEMDirection",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMDirection",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEMDirection",OBJPROP_XDISTANCE,PosX); ObjectSet("SKYFXSYSTEMDirection",OBJPROP_YDISTANCE,PosY+12); ObjectSetText("JJNBeeDirection","Wait",20,"Lucida Sans Unicode",FontColor); ObjectCreate("SKYFXSYSTEMLevel",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMLevel",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEMLevel",OBJPROP_XDISTANCE,PosX); ObjectSet("SKYFXSYSTEMLevel",OBJPROP_YDISTANCE,PosY+50); ObjectSetText("SKYFXSYSTEMLevel","",9,"Lucida Sans Unicode",FontColor); //---- initialization done return(0); }int deinit() {//---- ObjectDelete("SKYFXSYSTEMLine0"); ObjectDelete("SKYFXSYSTEMLine1"); ObjectDelete("SKYFXSYSTEMIndName"); ObjectDelete("SKYFXSYSTEMDirection"); ObjectDelete("SKYFXSYSTEMLevel"); ObjectDelete("SKYFXSYSTEMEntryLevel"); ObjectDelete("SKYFXSYSTEMTPLevel"); ObjectDelete("SKYFXSYSTEMSLLevel"); //---- return(0); }int start() { int limit; int counted_bars=IndicatorCounted();//---- last counted bar will be recounted if(counted_bars>0) counted_bars--; limit=Bars-counted_bars;//---- for(int i=0; iOpen && CloseOpen[1] && Close[1]

 

anumalik

That is an incomplete code and can not be worked on. You should attach the indicator as an attachment not as text within post (otherwise it will but cut to maximum 5000 chars) and only then someone can help you

anumalik:
Hello all It would be nice of you, if any one help me and generate one EA for me for following CODE thanks//+------------------------------------------------------------------+//| SKYFXSYSTEM.mq4 |//| copyright © 2012, SKYFXSYSTEM |//| http:/SKYFXSYSTEM.COM |//| INFO@SKYFXSYSTEM.COM |//+------------------------------------------------------------------+#property copyright "Copyright © 2012, SKYFXSYTEM"#property link "http:/SKYFXSYSTEM.COM"//---- indicator settings#property indicator_chart_window#property indicator_buffers 4#property indicator_color1 YellowGreen#property indicator_color2 OrangeRed#property indicator_color3 YellowGreen#property indicator_color4 OrangeRed#property indicator_width1 1#property indicator_width2 1#property indicator_width3 1#property indicator_width4 1//---- indicator parametersextern string __Copyright__ = "http://SKYFXSYSTEM.COM";extern int AtrPeriod = 8;extern bool Show_TP_SL = true;extern bool Show_Levels = true;extern color BuyColor = YellowGreen;extern color SellColor = OrangeRed;extern color FontColor = Yellow ;extern int DisplayDecimals = 4;extern int PosX = 25;extern int PosY = 25;extern bool SoundAlert = false;//---- indicator buffersdouble ExtMapBuffer1[];double ExtMapBuffer2[];double ExtMapBuffer3[];double ExtMapBuffer4[];double Atr;//+------------------------------------------------------------------+//| Custom indicator initialization function |//+------------------------------------------------------------------+int init() {//---- drawing settings IndicatorBuffers(4); SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,233); SetIndexBuffer(0,ExtMapBuffer1); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,234); SetIndexBuffer(1,ExtMapBuffer2); SetIndexStyle(2,DRAW_ARROW); SetIndexArrow(2,167);//119 SetIndexBuffer(2,ExtMapBuffer3); SetIndexStyle(3,DRAW_ARROW); SetIndexArrow(3,167);//119 SetIndexBuffer(3,ExtMapBuffer4); SetIndexLabel(0,"BUY"); SetIndexLabel(1,"SELL"); SetIndexLabel(2,"TakeProfit"); SetIndexLabel(3,"StopLoss"); //---- IndicatorShortName("SKYFXSYSTEM"); ObjectCreate("SKYFXSYSTEMIndName",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMIndName",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEMIndName",OBJPROP_XDISTANCE,PosX+20); ObjectSet("SKYFXSYSTEMIndName",OBJPROP_YDISTANCE,PosY); ObjectSetText("SKYFXSYSTEMIndName","SKYFXSYSTEM",8,"Lucida Sans Unicode",FontColor); ObjectCreate("SKYFXSYSTEMLine0",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMLine0",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEM0",OBJPROP_XDISTANCE,PosX+5); ObjectSet("SKYFXSYSTEMLine0",OBJPROP_YDISTANCE,PosY+8); ObjectSetText("SKYFXSYSTEMLine0","------------------",8,"Tahoma",FontColor); ObjectCreate("SKYFXSYSTEMLine1",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMLine1",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEMLine1",OBJPROP_XDISTANCE,PosX+5); ObjectSet("SKYFXSYSTEMLine1",OBJPROP_YDISTANCE,PosY+10); ObjectSetText("SKYFXSYSTEMLine1","------------------",8,"Tahoma",FontColor); ObjectCreate("SKYFXSYSTEMDirection",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMDirection",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEMDirection",OBJPROP_XDISTANCE,PosX); ObjectSet("SKYFXSYSTEMDirection",OBJPROP_YDISTANCE,PosY+12); ObjectSetText("JJNBeeDirection","Wait",20,"Lucida Sans Unicode",FontColor); ObjectCreate("SKYFXSYSTEMLevel",OBJ_LABEL,0,0,0,0,0); ObjectSet("SKYFXSYSTEMLevel",OBJPROP_CORNER,0); ObjectSet("SKYFXSYSTEMLevel",OBJPROP_XDISTANCE,PosX); ObjectSet("SKYFXSYSTEMLevel",OBJPROP_YDISTANCE,PosY+50); ObjectSetText("SKYFXSYSTEMLevel","",9,"Lucida Sans Unicode",FontColor); //---- initialization done return(0); }int deinit() {//---- ObjectDelete("SKYFXSYSTEMLine0"); ObjectDelete("SKYFXSYSTEMLine1"); ObjectDelete("SKYFXSYSTEMIndName"); ObjectDelete("SKYFXSYSTEMDirection"); ObjectDelete("SKYFXSYSTEMLevel"); ObjectDelete("SKYFXSYSTEMEntryLevel"); ObjectDelete("SKYFXSYSTEMTPLevel"); ObjectDelete("SKYFXSYSTEMSLLevel"); //---- return(0); }int start() { int limit; int counted_bars=IndicatorCounted();//---- last counted bar will be recounted if(counted_bars>0) counted_bars--; limit=Bars-counted_bars;//---- for(int i=0; iOpen && CloseOpen[1] && Close[1]
 

thanks for your kind reply , pls find attach the desired indicator. i will highly be thankful to u for my life.

Files:
fxdy.mq4  10 kb
Reason: