ループ処理はできますか?
2件の返信
I am looking for a way to get historic indicator data so as to set a dynamic stop. So for the stop level, I want to look left on the chart until i find price and them from there look for the second lowest fractal (for a long trade). But I can’t think of a way to do this In strategyquant.
In mql I could initiate a loop and manually look back (can we do this in strategyquant?) Or another idea, which I can’t think how to implement, is to have the historic values of the fractal indicator and just take the second lowest from the current price.
0
こんにちは、,
you cannot do looping. We do not allow this in our tool. You need to keep tracking of values you need forward so you store some value now (this bar) for later use. That is the only way
Fractal is troublesome. It gets redrawn. I have found it very unreliable and impossible to backtest basically
0
こんにちは、,
Are we able to work with arrays? Because then I could sort and search for a value less than to get what I need..
0
2件の返信を表示中 - 1 - 2件目 (全2件中)