Forum

Help with a Loop

hej guys ,,i need little help with my EA the idea is to open a new order when an exciting order hits TP B =OrderSend(Symbol(),OP_BUY,lot,Ask,Slippage,0,Ask+TP*pte,"",MagicNumber,0,Green); //entry orders

problem with order open price

hi guys ..i have some troubles with this block of codes .. int init() { //////////////////////////////////////////////////////////////////////////// if (MarketInfo( Symbol (), MODE_DIGITS)== 3 ||MarketInfo( Symbol (), MODE_DIGITS)== 5 ) mypoint= 10 ; else mypoint= 1 ; pte= Point *mypoint; return (

help with ibands

hey please guys any one can help me with my expert .. i wanna make a buystop in the upper line of the ibands and a sellstop in the lower line of the ibands ..of the candle of 00:00 every day so i write it like that ..but it wouldnt work.. can u guys pliizz help me double BuyLevel1= iBands ( NULL

little help please

I need a code that allow's me to open only one order per hour on a single symbol. this is the sell condition if (Close[ 1 ] > Open[ 1 ]) { double S= MathAbs (High[ 0 ]-Close[ 1 ]); double Sp=S/ Point ; if (Sp>= 20 ) result= OrderSend ( Symbol () , OP_SELL , lot , Bid , Slippage , Bid+SL* Point