So it could generate exit method for example like:
Stop Loss at EMA(60);
or
Trailing Stop to (BollingerBand_Up(68, 2.0, 0) + (1.5) * ATR(27)));
TODO:
1. in blocks that use formula with formulaName="RangeLevel" or formulaName="SLPT" add one more option "Indicator level" - see screenshot. There will nbe no settings for it, it can ony be enabled/disabled.
Maybe we will need to remove @IgnoreInBuilder annotation from its snippet.
2. add it as a value in blocks configuration:
<Block key="ProfitTarget.ProfitTarget" use="true" probability="50" category="exitTypes" type="formula">
<Generated weight="1" />
<Predefined changed="false" />
<Value key="SQ.Formulas.SLPT.FixedValue" use="true">
<Generated weight="1">
<Param key="#Value#" name="Value" type="double" generation="random" minValue="-1000011" maxValue="-1000012" step="5" />
</Generated>
<Predefined changed="false" />
</Value>
<Value key="SQ.Formulas.SLPT.PriceLevel" use="true">
<Generated weight="1">
</Generated>
<Predefined changed="false" />
</Value>
3. assign the task to me so I can add support for that in generation.
Status changed from New to Fixed