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
Why did you (re)declare _period in each subclass? This way the baseclass variable is not initialized with the correct timeframe. If you create FirstPullBack instances with different timeframes the IsThreeSoldier is still checked on each with _period=0, so all of them will be true at the same time. That's why they called SetPrice simultaneously.
Do you mean that all subclasses work with the period of the base class and do not need to keep their own instance of the period?
This way ?
Do you mean that all subclasses work with the period of the base class and do not need to keep their own instance of the period?
This way ?
Here you don't call the parent (CCondition) constructor, that is wrong:
Here you don't call the parent (CCondition) constructor, that is wrong:
It was solved in another way, but I still don't understand what the problem was!
Thank you for your time
It was solved in another way, but I still don't understand what the problem was!
Thank you for your time
Really ? and how ? Please share your solution when people tried to help you.
Really ? and how ? Please share your solution when people tried to help you.
Thank you again