Dislikedtry it The indicator creates 2 rectangles. You shift them where it is necessary. At a contact with the price - a signal {file} {image}Ignored
Say something meaningful or Silence!!
I will code your pivot EAs for no charge 28 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
Dislikedtry it The indicator creates 2 rectangles. You shift them where it is necessary. At a contact with the price - a signal {file} {image}Ignored
DislikedThanks for any help that you all give. I hope still to be able to get another help from you all. I have asked a help to create ea auto TP for me and I have to get it. Thank you very much. I have tried it and it really works. Simply perfect! I have shared with friends to use together and the all of friends give praise to what can be done by ea auto TP. Thank you for that! And now if it's still possible to get another help I thought of getting a ea that can make pending. I mean here to get an ea for pending stop. Please help me. Perhaps what I sketch...Ignored
ticket=OrderSend(Symbol(),OP_BUYSTOP,Lots,Ask+Buy_Stop_Distance*point,Slippage,Ask+Buy_Stop_Distance*point-StopLoss*point,Ask+Buy_Stop_Distance*point+ TakeProfit*Point,NULL,16384,0,clrNONE);
input int Sell_Stop_Distance = 100;
//+------------------------------------------------------------------+
//| PO_Buy_Stop.mq4 |
//| Copyright 2017, MetaQuotes Software Corp. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2017, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
#property show_confirm
#property show_inputs
input double Lots = 0.1;
input int Slippage = 3;
input int Buy_Stop_Distance = 100;
input int StopLoss = 100;
input int TakeProfit =100;
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
int ticket;
/*,expiration;*/
double point;
point=MarketInfo(Symbol(),MODE_POINT);
//expiration=CurTime()+PERIOD_D1*60;
while(true)
{
ticket=OrderSend(Symbol(),OP_BUYSTOP,Lots,Ask+Buy_Stop_Distance*point,Slippage,Ask+Buy_Stop_Distance*point-StopLoss*point,Ask+Buy_Stop_Distance*point+ TakeProfit*Point,NULL,16384,0,clrNONE);
PlaySound("ok.wav");
if(ticket<=0) Print("Error = ",GetLastError());
else { Print("ticket = ",ticket); break; }
//---- 10 seconds wait
Sleep(10000);
}
} Disliked{quote} Hi Andi, Could you please see what is wrong with the following code....I described in the bottom what its doing wrong. bool CheckMACrossExit(int cmd,int TimeFrame,int shift) { double MAFast = iMA(NULL, TimeFrame, FastMAExit, 0, MODE_LWMA, PRICE_CLOSE, shift); double MASlow = iMA(NULL, TimeFrame, SlowMAExit, 0, MODE_EMA, PRICE_CLOSE, shift); switch (cmd) { case OP_BUY : if(MAFast>MASlow) {return (true);} break; case OP_SELL : if(MAFast<MASlow) {return (true);} } return(false); When I use EMA EXIT when ever the slow and fast EMA cross it exits...Ignored
EA close_cross_ma: source and further information - https://www.mql5.com/en/code/11086
EA close_cross_kijun_sen: source and information - https://www.mql5.com/en/code/11067
//main signal double SEma1=iMA(Symbol(),0,ShortEma,0,MODE_EMA,PRICE_CLOSE,i); double SEma2=iMA(Symbol(),0,ShortEma,0,MODE_EMA,PRICE_CLOSE,i+1); double LEma1=iMA(Symbol(),0,LongEma,0,MODE_EMA,PRICE_CLOSE,i); double LEma2=iMA(Symbol(),0,LongEma,0,MODE_EMA,PRICE_CLOSE,i+1); string SBUY="false"; string SSEL="false"; if(SEma1>LEma1 && SEma2<LEma2) SBUY="true"; if(SEma1<LEma1 && SEma2>LEma2)SSEL="true";}
extern int Distance = 100; //---- double WO=iOpen(NULL, PERIOD_W1, 0); if(SEma1>LEma1 && SEma2<LEma2 && Ask<=WO +Distance*Point) SBUY="true";
Disliked{quote} I don't have time to look further into this. Here are two scripts that accomplish the first BUY STOP and SELL STOP level above and below current price. May be of use to others. It should be easy for anyone to edit the code to make a BUY LIMIT and SELL LIMIT. See #Post 18, 296 for Editing MQ4 files video. Note: Before changing any code first SAVE AS and rename new file. Only this line of code needs editing*. Compare this line in PO_Sell_Stop for better understanding...Ignored
DislikedHello. for the last hour I've been looking for a simple arrow Indicator That shows when the Tenkan-sen has crossed the Kijun-sen on the Ichimoku indicator. I was able to find one indicator like that, but it was wildly inaccurate. Can someone please help me?Ignored
Disliked{quote} Okay Fellow Traders. As I said, I found an EMAx EA and want to put some filters into it. One is that I don't want the EA to open trades that are x pips above the current weekly open for buys or x pips below for sells. I came up with an idea but as I know nothing about coding, my skills are very poor,so it didn't work. Here it is the EMAx no exit EA code: //main signal double SEma1=iMA(Symbol(),0,ShortEma,0,MODE_EMA,PRICE_CLOSE,i); double SEma2=iMA(Symbol(),0,ShortEma,0,MODE_EMA,PRICE_CLOSE,i+1); double LEma1=iMA(Symbol(),0,LongEma,0,MODE_EMA,PRICE_CLOSE,i);...Ignored
DislikedGentlemen, While I would like to take the opportunity to firstly appreciate all the experts here to help others (by coding or otherwise), I have a small request. I have made this request a few times, but to my dismay, little baffled why I am being ignored (no clue). So here I am requesting to see if any humble souls here can help me please. Just want to make the attached file an MTF one. Cheers and wish you all a fantastic week end. Warm Regards jg {file}Ignored
1. for Long Green crossed Red line upside above the yellow line ( generally yellow line called as market base line (MBL)
2. for Short Green crossed Red downward below the yellow line.
Much gratitude for the anticipated help.