Was wondering the same thing
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,
I'm currently in the process of developing my first EA. So far so good I would say.
However, I'm not a 100% sure about the difference of the following methods of the CExpertSignal class.
- [Long|Short]Condition
- CheckOpen[Long|Short]
According to the documentation both methods are used to "check conditions to open a long/short position".
Whereas the result of the [Long|Short]Position methods returns an integer between -100 and 100, the other simply returns a boolean.
In my understanding as it is right now, I can use both methods to signal to the EA that an open/short position should be opened.The "only" difference is that the results of the [Long|Short]Position methods should be interpreted as a degree of certainty which should be compared to a threshold value in order to perform a long/short order.
Am I correct in this interpretation or completely wrong?
Any insights would be highly appreciated.
With regards, M.