DislikedHello everyone, does anyone know where i could find an EA or indicator thet can take a screenshot periodically at specific times ? all the ones i'v found don't seem to work with the new mt4 thank you.Ignored
i lose money for a living
I will code your pivot EAs for no charge 23 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
DislikedHello everyone, does anyone know where i could find an EA or indicator thet can take a screenshot periodically at specific times ? all the ones i'v found don't seem to work with the new mt4 thank you.Ignored
Disliked{quote} Hi, first of all, thank you for your help. can you help me please? Where I must insert your code? This is my complete code: extern int MagicNumber = 777; extern double Lotti = 1; extern double TrailingStop = 500; //---- Step 1: Define constants in your EA #define OP_BUY_WW 2 #define OP_SELL_WW 3 //---- Step 2: Read value from data buffer int start() { // Read value from data buffer double value = iCustom(Symbol(), Period(), "Pz_indicator", 2, 1); // Do something if(value == OP_BUY) { /* Your code for bullish signal (blue arrow) */ double...Ignored
extern int MagicNumber = 777; extern double Lotti = 1; extern double TrailingStop = 500; //---- Step 1: Define constants in your EA #define OP_BUY_WW 2 #define OP_SELL_WW 3 //---- Step 2: Read value from data buffer int start() { // Read value from data buffer double value = iCustom(Symbol(), Period(), "Pz_indicator", 2, 1); // Do something if(value == OP_BUY) { /* Your code for bullish signal (blue arrow) */ double MyPoint=Point; if(Digits==3 || Digits==5) MyPoint=Point*10; double TheStopLoss=0; double TheTakeProfit=0; int Ticket; int total=OrdersTotal(); if(total<1) { Ticket = OrderSend(Symbol(),OP_BUY,Lotti,Ask,0, 0, 0, NULL,MagicNumber,0,Blue); if(Ticket>0) { pl(Ticket,OP_BUY); //Comment(StringConcatenate("MioArrayChiusure contiene i prezzi di chiusuura delle ultime 5 barre: \n",mVals[0], " ", mVals[1])); OrderModify(OrderTicket(),OrderOpenPrice(),sl,tp,0,Green); } return(0); } } if(value == OP_SELL) { int total1=OrdersTotal(); if(total1<1) { int Ticket_sell = OrderSend(Symbol(),OP_SELL,Lotti,Bid,0, 0, 0, NULL,MagicNumber,0,Blue); if(Ticket_sell>0) { pl(Ticket_sell,OP_SELL); //Comment(StringConcatenate("MioArrayChiusure contiene i prezzi di chiusura delle ultime 5 barre: \n",mValss[0], " ", mValss[1])); OrderModify(OrderTicket(),OrderOpenPrice(),sl,tp,0,Green); } return(0); } } // OrderSend(Symbol(),OP_SELL,Lotti,Bid,0,StopLoss,TakeProfit,"W",MagicNumber,0,Red); } if(value == OP_BUY_WW) { /* Your code for bullish (before arrow) */ } if(value == OP_SELL_WW) { /* Your code for bearish (before arrow) */ } if(value == EMPTY_VALUE) { /* Your code if no pattern or breakout */} // Exit return(0); } double sl=0,tp=0; void pl(int Tickets, int cmd) { double opc=100000; if(OrderSelect(Tickets,SELECT_BY_TICKET)) opc =OrderOpenPrice(); double v0=0,v1=0,v2=0; for(int z = 0; z <= Bars; z++) { double ZZ = NormalizeDouble(iCustom(NULL, 0, "ZigZag", 5, 5, 3, 0, z),Digits); if(ZZ==0) continue; if(v0==0) { v0=ZZ; continue; } if(v1==0) { v1=ZZ; continue; } if(v2==0) { v2=ZZ; break; } } if(cmd==OP_BUY) { if(v1>opc && v2<opc) { sl =v2; tp =v1; } } if(cmd==OP_SELL) { if(v1>opc && v2<opc) { sl =v1; tp =v2; } } return; }
Disliked{quote} Ok, but that isn't a signal indicator, here is what I asked for and that only shows your account balance and the rest and not give signals {image} {image}Ignored
DislikedHi expert coders, I have small MT4 UI requirement, can somebody please guide me on how to meet it. I have a small display showing trend across TFs, as part of an indicator, shown in attached image..... I want to draw a rectangle around it. (e.g. similar to Brown rectangle in image) Can somebody please provide code to draw such rectangle. Thanks Best regards. {image}Ignored
DislikedHi expert coders, i found an ea which is working based on area recovery strategy which its author posted its code for free. In the back tests while the spread is fixed the results are amazing. But when it comes to forward testing on demo, I have found that slippage and spread change by the broker can lead to catastrophic results. The thing is that this ea uses buy stop and sell stop orders with tp and sl in a way to close all in total profits when it reaches tp/sl levels which should be at the same instant, and there is an input for spread to do...Ignored
Disliked{quote} All PZ Indicators have alerts (push, e-mail and sound). Set DisplayAlerts = true and soundAlerts = true. Thats all :-)Ignored
#property copyright "" #property link "" #define major 1 #define minor 0 #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_color2 Yellow #property indicator_width1 1 #property indicator_width2 1 extern int FrPeriod = 10; extern int MaxBars = 500; double upper_fr[]; double lower_fr[]; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ void init() { SetIndexBuffer(0, upper_fr); SetIndexBuffer(1, lower_fr); SetIndexEmptyValue(0, 0); SetIndexEmptyValue(1, 0); SetIndexStyle(0, DRAW_ARROW); SetIndexArrow(0, 234); SetIndexStyle(1, DRAW_ARROW); SetIndexArrow(1, 233); } void start() { int counted = IndicatorCounted(); if (counted < 0) return (-1); if (counted > 0) counted--; int limit = MathMin(Bars-counted, MaxBars); //----- double dy = 0; for (int i=1; i <= 20; i++) { dy += 0.3*(High[i]-Low[i])/20; } for (i=0+FrPeriod; i <= limit+FrPeriod; i++) { upper_fr[i] = 0; lower_fr[i] = 0; if (is_upper_fr(i, FrPeriod)) upper_fr[i] = High[i]+dy; if (is_lower_fr(i, FrPeriod)) lower_fr[i] = Low[i]-dy; } } bool is_upper_fr(int bar, int period) { for (int i=1; i<=period; i++) { if (bar+i >= Bars || bar-i < 0) return (false); if (High[bar] < High[bar+i]) return (false); if (High[bar] < High[bar-i]) return (false); } return (true); } bool is_lower_fr(int bar, int period) { for (int i=1; i<=period; i++) { if (bar+i >= Bars || bar-i < 0) return (false); if (Low[bar] > Low[bar+i]) return (false); if (Low[bar] > Low[bar-i]) return (false); } return (true); }