@ambrogio well looks like I'll have to do it on tick as well, because if I leave it on mt5 mercy then it's gonna mess up whole thing 
Best posts made by Zackry
-
RE: auto place stopsposted in Questions & Answers
-
RE: compiling issueposted in Questions & Answers
@trader-philipps yeah there are some warnings but thats some regular stuff like implicit conversion and stuff
those warnings never actually caused any issues in the past
but i think the issue is the same as you said in the first post (about changing some settings ) , because i started it from the scratch in a new project and its working fine -
Apply template on chart ?posted in Questions & Answers
is there any way to accomplish this :
if i attach the ea to one chart , and whenever a new chart is opened then the ea automatically adds the selected template on that chart -
RE: Apply template on chart ?posted in Questions & Answers
@ambrogio same here , altho i thought i was onto something but apparently it was just my mind playing tricks on me (its a bit difficult for someone like me, who knows nothing about programming...
)
but i am still looking for a way tho, i will update here as soon as i find something useful... -
RE: need advice on using variables to select buffers of a custom indicator...posted in Questions & Answers
@miro1360 Awesome , absolutely awesome

I have been trying to solve this issue for a very long time , i even tried the option of creating individual blocks for each cross and i ended up with more then 400 blocks and the resulting ea was slow as hell
Its amazing how 400 blocks can all fit into 2 custom mql blocks, you are genius **Hats off **
your code is working splendidly , and you are right about (EUR>AUD and AUD<EUR, because both are valid in for loop)
I will try and add a check before the alert code to make sure it only alerts for the currency pairs which are present in the market watch or will try and write a list of all 28 valid currency pairs , i think this can help avoid the issue of (EUR>AUD and AUD<EUR, because both are valid in for loop) since AUDEUR is not a pair so it will skip the second alert
Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... Thank you ....... for all the effort you put into writing the code
YOU are AWESOME
-
RE: Lot size calculation issue for single digit after decimalposted in Questions & Answers
@ambrogio
honestly it doesnt make any sense to me
-
RE: Open a trade with keyboardposted in Questions & Answers
this is fairly easy to achieve , just go to on chart tab and from there select the option " keyboard pressed" and there you will have two options , either to detect any key pressed or filter the keys by key code , in your case just use the key code and add the key code that you wanna use , for example b for buy and s for sell , search their codes online (i think by key code it means asci codes of the keys ) then attach the remaining block like buy now or sell now for the required task to be accomplished