Disliked{quote} I'm sorry, but may need to wait for a while.Because my MT4 platform has been upgraded, all indicators and EA cannot be passed.MetaQuotes Software corp. self-defeating..Ignored
SD
Enter Signature
I will code your pivot EAs for no charge 24 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
Disliked{quote} I'm sorry, but may need to wait for a while.Because my MT4 platform has been upgraded, all indicators and EA cannot be passed.MetaQuotes Software corp. self-defeating..Ignored
DislikedI have been looking for a simple martingale EA for mt4 without success. All I want it to do is when my pending order is trigger the EA reverse my position when stop loss hits. [...] Does an EA like that exsit?Ignored
DislikedHello experts, this EA opens a buy stop and sell stop on SET sl and tp and Set pips away from the market price, it can also be modified on What time it opens those orders on SET time hour:minute, could anyone help me modify it to set Hour:Minute:SECONDS to open these orders please ??? this EA is to be used on News i want it to open before the news by few seconds and i have another EA to close all on profit. see attach: its useful for everyone to use {file}Ignored
Dislikedany help to modify this EA pleasee????? i only need it to open on exact accurate time set in Hour:Minutes:SecondsIgnored
Disliked{quote} Pre 600 builds of mt4 are solely tick driven, meaning an expert cannot be accurate in respect to time; it might work with minute accuracy because it is likely that within a minute there is at least one tick. But not to the second. With builds from 600 there is Timer event handling and experts can tick by the second; however, in order to implement here I think a major overhaul of the code basis (or better re-write) would be necessary.Ignored
// expert - test trade on set time #property strict input int hour = 20; input int min = 14; input int sec = 14; #define DEBUG int OnInit() { EventSetTimer(1); return INIT_SUCCEEDED; } void OnDeinit(const int reason) { EventKillTimer(); } void OnTimer() { MqlDateTime now; //check time against set time TimeToStruct(TimeLocal(), now); if(now.hour == hour && now.min == min && now.sec >= sec) { /* open trade here OrderSend( ...... ); */ #ifdef DEBUG Print("hello, world! The time is now: ", now.hour, ":", now.min, ":", now.sec); #endif ExpertRemove(); } }
// expert - test trade on set time input int hour = 21; input int min = 27; input int sec = 33; void OnInit() { MqlDateTime now; while(true) { TimeToStruct(TimeLocal(), now); if(now.hour == hour && now.min == min && now.sec >= sec) { Print("trade function goes here... "); break; } Sleep(1000); } ExpertRemove(); }
Disliked{quote} Likely it has to be custom made. How is your (pending) order set, manually or by robot? There has to be a way to identify the order, either by magic number (i.e. set by robot) or, if set manually, by comment; a third option being that the order is the only order in the system for the time of the whole operation.Ignored
Dislikedafaik if order is set manually, only a comment can be put in, but not a "magic number"; so, you would have to put a specific commentIgnored
Disliked{quote} some brokers change the comment. It is safer to use magicnumbers. For manual trades the magicnumbers = 0 ...Ignored
DislikedIt is safer to use magicnumbers. For manual trades the magicnumbers = 0 ...Ignored
Disliked{quote} This would be a problem because the marker has to be unique. Or else, if it can be assured that the order to be managed is the only active order at the time the expert is started, it could of course pick the order up by its ticket number and track it from there. Another possibility would be to set the order by the expert or script (providing those with sl, tp, price etc).Ignored
DislikedAt least in mq4 the magicnumberstuff is, to speak so, "dimwit proof"Ignored