Questions on Seetu - iif and trailing stop functions?

Hello everyone, hope you all are doing well, few questions on Auto seeTU program,

is the lines below take place in order of A B C ?
and for example: line C won’t execute unless line A and B already taken place ?

A - C2TradingSignal( sigBTO, Amount = Amount1, Price = . . . )
B - C2TradingSignalcond(sigSTO,sigSTO, Amount= . . . )
C - C2TradingSignalcond(sigSTO,sigSTO, Amount= . . . )

Can we incorporate “iif” and “trailing stop” function in lines above …? what is the correct way to implement,
Example: C2TradingSignalcond(sigSTO,sigSTO, Amount= 20, Price =Price1.1,
StopLoss = price
1.2, ProfitTarget= iif (cross (close , price*1.04), trailing () , profitTarget);

Thank you,
Ben,

Hello Ben,

(
Just a remark at first:

If your intention is to create BTO - STC chain, the first parameter in your B and C commands should be sigBTO and sigSTO should be sigSTC

A - C2TradingSignal( sigBTO, Amount = Amount1, Price = . . . )
B - C2TradingSignalcond( sigBTO, sigSTC, Amount= . . . )
C - C2TradingSignalcond(sigBTO, sigSTC, Amount= . . . )
)


  • In this incarnation, you can append only one conditional signal to the parent signal.

  • Collective2 does not support trailing stop signals.