Bayne
Bayne
Bayne
Added topic ? operator Problem in MQL5
Hey, I am want to set the expirationtime of a Pending stop order , depending of a bool and  the starting time and ending time of aTimerange. The bool will be set during optimization (if i want a 24Hours expiration) while the rest, decides if the
Bayne
Added topic Metatrader in external Drive??? Help!
How can i Install Metatrader 4 (especially together with the "metaquotes" Filder & " "terminal") in an external Drive?  Everytime i do this, this Folder automatically migrates Back from (D:) to (C:)  Both of These folders which are
Bayne
Added topic Why does it stop to detect for a next signal?
Hello dear Mql-programmers, I got a problem in the following code. It should return a signal (long/short) if the smaller MA just got over the bigger MA and this signal should  been kept until the price moves above the smaller MA to send the
Bayne
Added topic If 90% of TP -> Set New SL-> Set new TP... But why does it not work??!
If 90% of TP -> Set New SL-> Set new TP... But why does it not work??! It either works only for the SL but not for the TP if i hide the SL part-> it creates endless Takeprofits (everytime +210+210+210+210) <- actually after one
Bayne
Added topic How Can I Check If there are Orders open in the OnInit() Function ++ which magicnumber they belong to?
read above... I want too save time during backtests , so I only want to check it in OnInit(). Is that possible? Sadly the following doesnt work:( int OnInit ()   {StartOrder = OrderSend ( Symbol (), OP_BUY ,Lot, Ask , 10 , 0 , 0
Bayne
Added topic Help ! EA opens an endless amount of Orders? What to do? MT4
What can I do? The EA opens an endless Amount of Orders ( and shows "error 1"& "error 130") (important -> MT4) int total= OrdersTotal ();    LongOrder= 0 ; ShortOrder= 0 ; //If i delete this line it still opens endless orders
Bayne
Registered at MQL5.community
12