cant get the brackets on this ea right
One too many {
yes it compile correctly
but if i change the argument in buy and sell it gives me errors
why?
yes it compile correctly
but if i change the argument in buy and sell it gives me errors
why?
ok lets add the Ea
here i made changes in the argument
the { is not counted for
That code . . .
int numTrades=0; int start() { if (AccountNumber() !=accno)
. . . is exactly the same as in the code you posted in the first post . . . what did you actually change ?
This is what you changed . . .
if ( Order!=SIGNAL_CLOSEBUY&&Buy1_1 < Buy1_2 && Buy2_1 > Buy2_2 // && Buy3_1 < Buy3_2 && Buy4_1 > Buy4_2; //&& Buy5_1 > Buy5_2 && Buy6_1 > Buy6_2 && Buy7_1 < Buy7_2) Order = SIGNAL_BUY; if ( Order!=SIGNAL_CLOSESELL&&Sell1_1 > Sell1_2 && Sell2_1 > Sell2_2 // && Sell3_1 < Sell3_2 && Sell4_1 < Sell4_2; //&& Sell5_1 < Sell5_2 && Sell6_1 < Sell6_2 && Sell7_1 > Sell7_2) Order = SIGNAL_SELL;
. . you have an opening ( where is your closing ) ?
thanks mmm i am not sure
i am new to programming
so i had a programmer to do a EA template for me. and all i want is to change the buy sell arguments the basic must be there
he send me the first ea and the when i change the arguments i got problems
is that not the right way to do it?
i tried to go back to him but now he does not answer me.
can you help me or give me some advice. know a bit about programming not much
thanks mmm i am not sure
i am new to programming
so i had a programmer to do a EA template for me. and all i want is to change the buy sell arguments the basic must be there
he send me the first ea and the when i change the arguments i got problems
is that not the right way to do it?
i tried to go back to him but now he does not answer me.
can you help me or give me some advice. know a bit about programming not much
thanks mmm i am not sure
i am new to programming
so i had a programmer to do a EA template for me. and all i want is to change the buy sell arguments the basic must be there
he send me the first ea and the when i change the arguments i got problems
is that not the right way to do it?
i tried to go back to him but now he does not answer me.
can you help me or give me some advice. know a bit about programming not much
so you want to exclude some indicators?
this compiles..
//+------------------------------------------------------------------+ //| Signal Begin(Entry) | //+------------------------------------------------------------------+ if (Order!=SIGNAL_CLOSEBUY&&Buy1_1 < Buy1_2 && Buy2_1 > Buy2_2 && Buy3_1 < Buy3_2 && Buy4_1 > Buy4_2 && Buy5_1 > Buy5_2 && Buy6_1 > Buy6_2 && Buy7_1 < Buy7_2) Order = SIGNAL_BUY; if (Order!=SIGNAL_CLOSESELL&&Sell1_1 > Sell1_2 && Sell2_1 > Sell2_2 && Sell3_1 < Sell3_2 && Sell4_1 < Sell4_2 && Sell5_1 < Sell5_2 && Sell6_1 < Sell6_2 && Sell7_1 > Sell7_2) Order = SIGNAL_SELL;
this does not compile..
//+------------------------------------------------------------------+ //| Signal Begin(Entry) | //+------------------------------------------------------------------+ if (Order!=SIGNAL_CLOSEBUY&&Buy1_1 < Buy1_2 && Buy2_1 > Buy2_2 // && Buy3_1 < Buy3_2 && Buy4_1 > Buy4_2; //&& Buy5_1 > Buy5_2 && Buy6_1 > Buy6_2 && Buy7_1 < Buy7_2) Order = SIGNAL_BUY; if (Order!=SIGNAL_CLOSESELL&&Sell1_1 > Sell1_2 && Sell2_1 > Sell2_2 // && Sell3_1 < Sell3_2 && Sell4_1 < Sell4_2; //&& Sell5_1 < Sell5_2 && Sell6_1 < Sell6_2 && Sell7_1 > Sell7_2) Order = SIGNAL_SELL;
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
cant get the brackets on this ea right
One too many {