Cross over but no trigger

Forums ProRealTime English forum ProOrder support Cross over but no trigger

Viewing 4 posts - 1 through 4 (of 4 total)
  • #191203

    Hi Everyone,

    I need a little help understanding whats happening with a simple cross over using the smooth stochastic.

    I trade the us500 on 10min and dont seem to be always getting a buy single on the cross over of 28. Please refer code.

    While a lot of the triggers seem correct some I believe are missed.

    Any ideas would be appreciated.

    Regards

    Carter

    #191223

    Do not embed files in your post. Use the SELECT FILE button only for attachments.

    Thank you 🙂

    It works like a charm, it skips crossovers when there are 2 positions open, as C5 (line 17) makes sure there are less than 2 positions to add another one.

     

     

    #191291

    Hi Robert.

    Thank you for your reply.

    I have checked what you have mentioned but I dont believe this is the issue. I have picked a couple of recent dates where a trigger is expected and there are no open positions. 4/4/22 and 17/1/22.

    Thanks

    Carter

    #191304

    Replace line 27 with this one:

    because if you don’t check if you are already on market, it will execute BUY, then SELL, thus invalidating the trade.

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

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