Forum

Return value of 'OrderSelect' should be checked

I have no idea what i should do to fix this can someone help me out a little with my code and explain where and how i messed up it kind of work when i'm testing it but it's not working on every trade this is the code PLEASE HELP going on 2 days i've been looking into this issue int TrailingStop=

Lost in my CODE need help please

while ((MovingAverageValue200 > PriceAction[i])&& (PriceAction[ 1 ] Close[ 1 ] <= PriceAction[ 2 ]Open[ 2 ] && PriceAction[ 1 ] Open[ 1 ] > PriceAction[ 2 ] Close[ 2 ] && PriceAction[ 1 ] Vol < PriceAction[ 2 ] Vol)); { //sell order = OrderSend ( NULL , OP_SELL, 0.01 , PriceAction[ 0

Need help with my CODE please

I have 4 errors and 2 warnings in my code need help with it big time been looking at this for a few days now and i cant come up with the solution PLEASE HELP! errors are 'while' - semicolon expected, '&&' - operand expected, ')' - unexpected token, and lastly 'else' - illegal 'else' without matching