Mohamed Mostafa Mohamed Sonbol / Publications
Forum
PositionModify , change TP but leaving SL the same
do i have to get the SL value and place it again if i want to change only TP value ? cause placing a 0 delete my SL value . thanks
Next highest and lowest element in double array ?
hello Anyone have the code for this? i know it's simple but my mind is somehow blocked. let's say i have an array contains few double elements, I know one of these elements and need to get the closest hi and closest low to this element. I don't want to use sorting and indexing, thank you
Accessing indicator Array from EA
Hello i have an array inside the indicator , how can i use it in another EA? i can think that it needs to be copied to buffer and access it using icustom ? if thats the case how can i copy the array to the buffer ? i cant seem to find anything about it or maybe i am missing it . or maybe there is
intercept buy/sell terminal order ?
Anyway to intercept orders to modify it or even prevent it from execution ? (and by orders i don't mean pending orders I mean instant execution from build in oneclick panel or from other EA for example
Exiting Loop according to bar count ?
hello i am trying to exit a loop after number of bars appears the code is like that void OnTick () { int barnum1 = ( Bars ( _Symbol , _Period )); int barnum2 = ( Bars ( _Symbol , _Period ))+ 1 ; do { int barnum1 = ( Bars ( _Symbol , _Period )); // do something here
Signal Tab is missing in Demo account
hello From my understanding that if i have a demo account i can still subscribe to real signal or even demo signal but on my MT4 when i log with demo account the Singal tab disappears and only appear if i log with my real account is that normal? so i cannot subscribe to any signal on demo account
Symbol Suffixes
Hello All Will A symbol with different suffix than mine be still copied from signal provider ? ex : EURUSD_i will be copied if the copier symbol is for example EURUSD# ? thanks
PIPS are killing me
sorry guys for this basic question , but i have been searching and reading a lot to find a very simple answer to this but i dont know if my mind is blocked or i cant get it or what since i am new at trading . ok, in gold for example price moves from 1800.21$ to 1802.21$ lot of people refer to this
magic number for each position ?
hello is it possible in mql5 to set a different magic number for each position ? i searched but i cant seem to find how can i do it anyone can help on this ? thank you