@jstap I tried it.. but didn't work for me, I used RemoveExpert();
in a custom MQL code block.
then it worked..
Posts made by tharindu999
-
RE: Need a custom MQL Code to remove the EA.posted in Questions & Answers
-
What is the correct data type for Time & Date values ?.posted in Questions & Answers
I want to add starting time and a ending time for the EA. I tried with datetime, that doesn't work.
-
How to get reputation points ?.posted in Questions & Answers
Can someone tell me how to get reputation points in this forum?.
-
RE: Need a custom MQL Code to remove the EA.posted in Questions & Answers
@jstap , @l-andorrĂ can you help me with this guys...?
-
RE: How use counters to stop this EA ?.posted in Questions & Answers
That problem was already solved brother.
-
RE: is this variable method is correct ?.posted in Questions & Answers
yes bro, I moved them in to OnTrade.
-
RE: I want to keep values until reset them?.posted in Questions & Answers
@jstap Bro can you help me..
-
I want to keep values until reset them?.posted in Questions & Answers
Case- :
Variables of my EA resets after I remove it from charts. but I want to keep the last updated data. so once that EA put in to charts, it can continue from where it stopped unless some condition blocks not reset variables.
How could I keep data ?.
-
Need a custom MQL Code to remove the EA.posted in Questions & Answers
I need a custom MQL code for "Custom MQL Code" block for remove the EA from the chart once conditions are false. (Conditions can be get from the "Condition" blocks)
the removing conditions may be met in the OnInit event or OnTick event. but the condition can set using "Condition blocks"
-
RE: How pick the loss value ?.posted in Questions & Answers
bro, I don't understand how to store the $$ money value of the current lost trade because this "For each Closed position" loop never retunes that kind a output.
https://fxdreema.com/shared/jyb5H1pve -
How pick the loss value ?.posted in Questions & Answers
Case - :
When a loosing trade occurred. I want to store the lost trade $$ value in to a variable. then store profits values from the trades after that loosing trade and compare to ensure the loss has been recovered or not.
How can I pick the money value of that loss trade and store it in to a variable.
-
RE: Will this work ?.posted in Questions & Answers
Can we pick a variable and do some math to it and hold the new value in same variable as many times as we want?
-
RE: Will this work ?.posted in Questions & Answers
New Trades creates on OnTick / OnTrade.
Orders are modifying on OnTimerso, I need to count for these three events.
How about using this "CurrentLimit" Variable for these three events ?. will it do the math every time the EA calls for it and hold the latest value after math done?.
-
Will this work ?.posted in Questions & Answers
Case -:
I want to count every trade open / close / modifies. Here I use a Constant to define the daily limit and a variable to keep track of the current limit.
I used a formula to update the variable. will this work without bugs ?.
-
RE: How to get the account name in Meta Traderposted in Questions & Answers
@smartbotbasic you need to post your question in a separate topic.