long_in = ta.crossover(mafast, maslow) and maslow > nbEma long_out = ta.crossunder(mafast, maslow) and maslow > nbEma
short_in = ta.crossunder(mafast, maslow) and maslow < nbEma short_out = ta.crossover(mafast, maslow) and maslow < nbEma
if long_in strategy.entry(“MA2CrossLE”, strategy.long, comment=“MA2CrossLE”) if long_out strategy.close(“MA2CrossLE”, strategy.long, comment=“MA2CrossLE”)
if long_in strategy.entry(“MA2CrossLE”, strategy.short, comment=“MA2CrossLE”) if short_out strategy.close(“MA2CrossLE”, strategy.short, comment=“MA2CrossLE”)
Trong code chỉ đơn giản là viết downline, không có gì khác, hỏi về đơn xin việc, nói rằng nó là do quá nhiều lần thăm dò. Nhưng Pine không thiết lập thời gian thăm dò ở đâu, xin các vị thần trả lời