amine_chourou wrote:
Hi,
thanks for reaching out in this forum !
First of all, any block that is not linked to a start point is not considered by the the strategy at all. So you have to link all your blocks (is serial way or in parallel).
Second, the indicators are built in away to use candle periods. So the minimum period that a candle could take is 10 sec but the update frequency of its output cans be on tick basis. check the attached example and you'll see that indicators are calculated on 10 sec and updated on tick basis as they are linked to OnTick method.
I think this can meet your requirements, up to you to fine tune the conditions ...
ps: I've added a condition to limit the number of opened orders and changed the SL and TP values for testing purpose. feel free to adjust these as per your needs.
Thank you very much for the help. So I see that the MA's are calculated on the 150 and 50, 10 second candle periods. Would it be possible to calculate in that small time period the daily 150 and 50 MA's instead? And then be checking if the current price exceeded these MA's on the 10 second candles?