Please See Below
int total=ObjectsTotal();
int count=0; int skip=-1;
int index=0;
string name; int type;
Print(ObjColor);
if (LoopDirection=="z-a" || LoopDirection=="newest-to-oldest")
Please See Below
int total=ObjectsTotal();
int count=0; int skip=-1;
int index=0;
string name; int type;
Print(ObjColor);
if (LoopDirection=="z-a" || LoopDirection=="newest-to-oldest")
Hi,
For each Object block is printing colour code to experts log.
Could you please turn this off.
Thanks
Hi,
I am running local version - time problem was a web one to show you an issue.
I will prepare an example project & share to you so you can simulate.
Thanks
Thanks
Perhaps you can have the best of both scenarios e.g
If condition adjust value contains variable name - replace variable name with ToDigits(variable_value_here,CurrentSymbol());
Else
Check & replace like you currently do
Hi,
On Local Version.
Please find attached picture showing issue - when I use a variable for the adjust the output is not merging correctly with
your toDigits code.
If you could fix that would be great.
Thanks
Hi,
Just wondering if u could have a check on the code from your side.
I have had my EA running on demo for a few days
It will open through the grid order block a single pending limit order on certain conditions
I have it get the mins expiry from a variable.
Occasionally it will have expiry 2 days from order place instead of 60 mins.
Most orders have expiry in the comments of 60 mins hour - its very strange.
Also - are you aware of any issue with virtual stops on backtest - I find sometimes it can become confused & the stop doesn't get triggered.
Thankyou
Hi,
In the project variables - for your output into the mql file can you allow it to support just the variable name declaration.
Because if I don't supply a value the MQL file will not compile as your output is assuming all variables will have values.
datetime MyDate =; fails build
if no value consider output as:
datetime MyDate;
Thanks
Hi,
Depending on tick data there is a line of code inside iCandleID that can cause a divide by zero problem
Sometimes I get the start of day candle open value & it will try get candle ID for specific time
CandleID = (int)MathCeil((double)mins_diff/(double)mins_tf);
could you consider some protection on this
if(mins_tf>0){
CandleID = (int)MathCeil((double)mins_diff/(double)mins_tf);
}
Yes - I meant to say I have put Print() custom mql4 but after some time they stop getting run.
I will try with the comment blocks and see what I can figure out
Hi,
I have adjusted to 5 minutes & still after the 24 hours passes the code stops running. Until the broker does a MT4 refresh at 00:00 GMT.
Any other ideas - I have put trace blocks on but it seems to get thrown off at some point in time.
Thanks