Hi everybody,
I wanted to modify some of the codes from my existing EA.
I'm wondering if there's any Angels out there who is willing to help
1st : I need the EA to memorize/store the pair symbol(s) for further analysis
{
if (abc > xyz)
{
string rberPair=MarketInfo(Symbol); // I need a code to remember the pair symbol(s) for other execution out from this loop. There'll be up to 28 symbols to memorize if condition met.
} IS THIS CORRECT? If not, anyone care to provide some guidance? Thanks
}
===============================================================================
2nd : After getting the Symbols,
// this is the outer loop for further analysis and execution
if rberPair >1; // I need to check that if there's symbol exist, then proceed with the below analysis
{
if def>ghi
{buy(rberPair)
since buy order has been placed, I need to erase this symbol from the (rberPair) slot
Appreciate if anyone could draft me the coding.
Thanking you in advance for your time and kindness.
Have a nice day.
I wanted to modify some of the codes from my existing EA.
I'm wondering if there's any Angels out there who is willing to help
1st : I need the EA to memorize/store the pair symbol(s) for further analysis
{
if (abc > xyz)
{
string rberPair=MarketInfo(Symbol); // I need a code to remember the pair symbol(s) for other execution out from this loop. There'll be up to 28 symbols to memorize if condition met.
} IS THIS CORRECT? If not, anyone care to provide some guidance? Thanks
}
===============================================================================
2nd : After getting the Symbols,
// this is the outer loop for further analysis and execution
if rberPair >1; // I need to check that if there's symbol exist, then proceed with the below analysis
{
if def>ghi
{buy(rberPair)
since buy order has been placed, I need to erase this symbol from the (rberPair) slot
Appreciate if anyone could draft me the coding.
Thanking you in advance for your time and kindness.
Have a nice day.