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),
Ticket = OrderSend("USDCHF",OP_BUY,Lots,MarketInfo("USDCHF",MODE_ASK),
Considering Orders in a Large Program
General principles of considering orders in a large and complex program are discussed.
open the history in the teminal and drag the orders you want to see onto the chart.
Write code to read the history and draw whatever you want on the chart.
To add comments, please log in or register