Bollinger Band Strategy – Help in coding

Forums ProRealTime English forum ProOrder support Bollinger Band Strategy – Help in coding

Viewing 1 post (of 1 total)
  • #5693

    Dear forum experts,
    I am trying to trade 30min, using the bollinger band. Any spikes above the bollinger to take a reversal trade on the same bar, both on the long and short side. Can someone help me see what’s wrong with my code (below)? The backtest does not show the trades according to my thought process. Sometimes it opens where I see the price overshoots the bollinger, and sometimes it does not open a trade where I see the spike. Ideally, this strategy uses the same (current) bar to get the signal and to open the trade but not the next open bar. Appreciate any help here. Tks.

    —————————————————————————————————————

     

Viewing 1 post (of 1 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login