• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

Suggestion my new ea create

tanks for you help .
i do this for some reason .
i wrote in OnInit() for example

// Global Variables Declaration
string Currency1="AUDUSD";
string Currency2="EURUSD";

int OnInit()
{
if( StringFind(Symbol(),Currency1,0)>=0 ) // if(Symbol()=="AUDUSD")
..
}
if( StringFind(Symbol(),Currency2,0)>=0 ) // if(Symbol()=="EURUSD")
{

}

these codes should take care of any prefix and suffix the broker may use.
 
// Global Variables Declaration
string Currency1="AUDUSD";
string Currency2="EURUSD";

int OnInit()
{
if( StringFind(Symbol(),Currency1,0)>=0 ) // if(Symbol()=="AUDUSD")
..
}
if( StringFind(Symbol(),Currency2,0)>=0 ) // if(Symbol()=="EURUSD")
{

}

these codes should take care of any prefix and suffix the broker may use.
tank you .
im check it
 
this is my new ea .
for 1 hour time frame.
its good for EURGBP, EURUSD,USDJPY,EURJPY,AUDUSD,NZDUSD,GBPUSD,USDCAD.
if your BROKER write symbol like EURUSDl ,add somthing to symbol ,expert dont work .tell me i resolve problem.
this expert have limit time for 3 mounth.
if any qustin ask me.
back test from 2019,
OK. Thanks
 
Back
Top