Combined point trading system
-
Dear FxDreemas,
I want to build a buy and sell system which is based on different indicators.
The idea is to give an event (for example a crossover) a certain number of points, adding all points to a total score, divide the total score by the number of all events those can happen and buy or sell if the divided score is above a certain value.
For example a simple buy strategy with two events:
1 Event: Moving average 1 > Moving average 2 = 2 buypoints
2 Event: Moving average 2 > Moving average 3 = 3 buypointsLets say we would buy once if we have a finale score which is equal or above 1,5 buypoints.
1 Event = true and 2 Event = false - in this case we would get 2 buypoints divided by the number of all events (2) we would get only 1 buypoint, which would be not enough buypoints to buy once.
Another example:
1 Event = false and 2 Event = true - in this case we would get 3 buypoints divided by the number of all events (2) we would get 1,5 buypoints, which would be enough buypoints to buy once.
How can I build such a system?
Many thanks in advance for your help!!

Kind regards
Daniel
-
question is: are conditions meet in one time (at once) for collecting points, or can be delay between conditions?
if at once, just use variables ...

that "no buy" block can be first in scheme
.. -
Thanks! I will try it out.
-
-
and is it working as you expected?
-
Yes, but Iยดm worried about to many blocks in one project. Could it be that the calculation is still running but the current tick is over?
And how do I get the variables in the condition block? Can you give me an example?
Thanks a lot!
-
yes wait while I check on it and show you example ...
-
https://fxdreema.com/shared/aWkdkULae
try thisdont worry about calculation in one tick, it is fast enough
-
Thanks for that! I could send you an Inbox, if I am finish - If you like

-
you can post also here in forum
