How to Use MQL5 Constructions? Check the Documentation!
MQL4.com is moving to MQL5.com. Sign up for the new web portal for traders!

Placing Arrows

Back to topics list To post a new topic, please log in or register
avatar
124
inkexit 2008.10.09 18:36
 

How can I place the standard green and red arrows where my trades are opened if I open them for another chart?

Right now I am controlling all buys and sells of both the EURUSD and the USDCHF from the EURUSD chart.  The arrows get placed on the EURUSD chart just fine,,but none show up on the USDCHF.

Here's my order send function:

void Buy(double Lots,int Slippage,int Magic)
{
   int Ticket = OrderSend("EURUSD",OP_BUY,Lots,MarketInfo("EURUSD",MODE_ASK),
            Slippage,0,0,NULL,Magic,0,Green);
            
   Ticket = OrderSend("USDCHF",OP_BUY,Lots,MarketInfo("USDCHF",MODE_ASK),
            Slippage,0,0,NULL,Magic,0,Green);
}
???


 
Jose Manuel Barroso - 'Europe is More Important Than America'
Jose Manuel Barroso claims he no longer has to be careful about what he says. But that has not stopped him from being an incurable optimist about Europe’s ability to wrest global economic hegemony from the US and China. “We said consistently that we were going to show the resilience of the EU and the eurozone,” he told the World Travel & Tourism Council’s Global Summit in Madrid.
avatar
124
inkexit 2008.10.11 18:00 #
 
bump
avatar
2644
avatar
124
inkexit 2008.10.12 18:20 #
 
anyway to do this via EA code?
avatar
2644
phy 2008.10.13 01:31 #
 

Write code to read the history and draw whatever you want on the chart.

 
Back to topics list  

To add comments, please log in or register