Download MetaTrader 5

Code for risk per trade? - page 3

To add comments, please log in or register
Dana Monteiro
198
Dana Monteiro  

Hello 1005phillip, If you are still around this forum. Thank you for your instructions and code that you provided to calculate correct investments for cross currencies. Is it possible to use your code to open various cross currencies from one major currency chart or do the  cross currencies always have to be the current chart for your code to open the cross currencies? Please advise if you will.

 

If 1005phillip is no longer around this forum. Would anyone else know how to open various cross currencies from one major currency chart?

 

Best regards

Carl Schreiber
6778
Carl Schreiber  
Deuteronomy818:

If 1005phillip is no longer around this forum. Would anyone else know how to open various cross currencies from one major currency chart?

Best regards

1) You'd better have opened a new thread

2) What exactly do you mean with "open various crosseds .."?

a) open a new chart => ChartOpen() (look it up in the reference)

b) Request quotes from other symbols than the chart symbol => iOpen(), iClose(), ... (as well in the reference)

Dana Monteiro
198
Dana Monteiro  
Thank you for the suggestion Gooly. I was referring to Phillip's automated lot calculation code for an EA. Best regards
123
To add comments, please log in or register