Remove extra spaces left-right, replace commas with full stops, replace semicolons with spaces, remove triple-double spaces... split into an array, convert to double what can be converted and what cannot be converted into a log)
These are the conditions for starting an EA, if( if) (CountOrders()==0( no orders )&&ObjectGetInteger(0, "lab_Button",OBJPROP_STATE))( and the button is pressed), then you can trade
Thank you. I am slowly figuring it out.
Please clarify the relationship between: datetime Start; -in the area of global variables and Start = iTime(_Symbol,PERIOD_D1,0); -within void OnTick()?
Thank you. I am slowly getting to the bottom of this.
please clarify the relationship between: datetime Start; -in the area of global variables and Start = iTime(_Symbol,PERIOD_D1,0); -within void OnTick()?
Or these things are not related?
In the global variables area there is a variable declaration
within void OnTick() and other functions - use of variables
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Can you tell me how to output this to an external variable
into a string and then parse the string
Please advise how to output this to an external variable
Write the values into the input string
Then split by a delimiter into an array
stringsplit
Like this
into a string and then parse the string
What do you mean, parse?
What does it mean to parse?
From parse - to parse, to analyse.
Remove extra spaces left-right, replace commas with full stops, replace semicolons with spaces, remove triple-double spaces... split into an array, convert to double what can be converted and what cannot be converted into a log)
Thank you, I get the gist)
I'll try it...
These are the conditions for starting an EA, if( if) (CountOrders()==0( no orders )&&ObjectGetInteger(0, "lab_Button",OBJPROP_STATE))( and the button is pressed), then you can trade
Thank you. I am slowly figuring it out.
Please clarify the relationship between: datetime Start; -in the area of global variables and Start = iTime(_Symbol,PERIOD_D1,0); -within void OnTick()?
Or these things are not related?
Thank you. I am slowly getting to the bottom of this.
please clarify the relationship between: datetime Start; -in the area of global variables and Start = iTime(_Symbol,PERIOD_D1,0); -within void OnTick()?
Or these things are not related?
In the global variables area there is a variable declaration
within void OnTick() and other functions - use of variables
in the global variable area, variables are declared
within void OnTick() and other functions - variables are used
thanks
Thanks, I really needed to rewrite it a bit, but your idea worked,
I cannot solve one problem, I can close a position at 19:59, but after 20:00 the EA does not accept and does not close positions
Thanks, I really needed to rewrite it a bit, but your idea worked,
I cannot solve one problem, I can close a position at 19:59, but after 20:00 the EA does not accept and does not close positions