//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~void start(){
string Fx__Symbol;
string Symbol_Ray[]={"EURUSD","USDJPY","GBPUSD","USDCHF","AUDUSD","USDCAD"};
for(int i=0; i<ArraySize(Symbol_Ray); i++){
Fx__Symbol=Symbol_Ray[i];
if(IsTesting()){Fx__Symbol=Symbol(); i=9999;}
/*
The Rest Of Your Codes Goes Here..(Within For Loop)
Will Cycle Through Each Symbol Within The Symbol_Ray Array
From Left ---> To Right When Attached To A Live Chart.
When Testing, It'll Only Use The Test Symbol
(Mt4 Does-Not Support Multi-Currency Testing)
Then It Sets i To a High Number Which Avoids Processing
One Tick Multiple Times While Testing.
*/
} }
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
Here's a simple template to give you some idea.
Here's a simple template to give you some idea.
Have a look in here
https://forum.mql4.com/68325
https://www.mql5.com/en/forum/61041
Nice!! Thanks!
Here's a simple template to give you some idea.
Nice!! Thank you!!