Forum

Reading multiple pairs on single chart

Hello, I am trying to read values for multiple pairs on single chart. On single chart indicator works. But when i am trying to read from more pairs on same chart so it is going wild. Do you have any idea what to do to get it to work? double EURH1=iHigh( "EURUSD" , PERIOD_CURRENT , 0 ); double

Drawing Arrows in MQL4 Tutorial

Hi, I have seen many are looking for how to draw an arrow. I am writing this to explain how to draw an arrow in a Label. ObjectCreate ( "TrendArrow" , OBJ_LABEL , 0 , 0 , 0 ); // Create a label named TrendArrow ObjectSet( "TrendArrow" , OBJPROP_XDISTANCE , 30 ); // Set distance on chart

Loop to send order

Hello, Can someone confirm this code is ok. I have coded it to loop to send order. int ticket1 ; RefreshRates ( ) ; ticket1 = OrderSend ( symbol1 , OP_BUY , LotSize1 , MarketInfo ( symbol1 , MODE_ASK ) , Slippage , 0 , 0 , "Buy-Buy-Hedge" , Magic , 0 , Green ) ; if ( ticket1 < 0 ) {