Hi, thanks for this! Do you know how to have variable long/short entry conditions? For example in this strategy, a true/false input for each ema cross, if true then included in long/short conditions, if false then not included? Thanks a lot.
@Crypto-Oli, Thanks for your reply. I actually found a solution soon after posting. I opted for longcondition = iff(usevariable == true, variable, na) and iff( etc.... Allowed me to make my long condition change quite drastically without too much code.
nice =) ... one important point : the Trailing Stoploss is buggy ... TV only uses ohlc data , so you will most likly more often stoped out then the strategy implies , keep that in mind