
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
Thank you!
I verify that SymbolSelect has issue with the StrategyTester. The problem may occurs on the fact that the symbols of the strategy tester are the symbols on Market watch by default.
So, i will make an update to the framework with following change:
Regards
When opening a position, using
execute.Position(type,volume,stopLoss,takeProfit,SLTP_PIPS);
How can I add a comment to the position?
Hi,
Of course.
Example:
execute.Position(type,volume,stopLoss,takeProfit,SLTP_PIPS,10,"EA POSITION");
10 => the deviation
"EA POSITION" => comment
When creating a position object using the command,
CPosition positionBuy(symbol,magicNumber, GROUP_POSITIONS_BUYS);
Is it possible to have it ignore the magicNumber so that any magic number is included?
Thanks
Kim
When creating a position object using the command,
CPosition positionBuy(symbol,magicNumber, GROUP_POSITIONS_BUYS);
Is it possible to have it ignore the magicNumber so that any magic number is included?
Thanks
Kim
Hi,
if you don't set the magic number of the position object (like position.SetGroupMagicNumber(12345)), then the magic number will be ignored.
The above example print the total number of BUY positions regardless the magic number.
Hi,
if you don't set the magic number of the position object (like position.SetGroupMagicNumber(12345)), then the magic number will be ignored.
The above example print the total number of BUY positions regardless the magic number.
Thanks