Yong Zhang / Publications
Forum
How to get the total number of positions in this code
Most EA downloaded from the code base, I can get the total number of positions by encoding; like this void CalculatePositions( int &count_buys, int &count_sells) { count_buys= 0.0 ; count_sells= 0.0 ; for ( int i= PositionsTotal ()- 1 ;i>= 0 ;i--) if (m_position.SelectByIndex(i)) //
My EA Uploaded to the market——Feedback the automatic test results,what happened?
Has anyone ever met?
"POSITION_SL" How is this value come from?
I am a beginner, "Open stop level ",that is :m_position.StopLoss(),In the end how to understand,How is this value come from
Why the final sum of the profits is not equal to the sum of the various parts
Why the final sum of the profits is not equal to the sum of the various parts