Short positions keep closing

Forums ProRealTime English forum ProOrder support Short positions keep closing

Viewing 3 posts - 1 through 3 (of 3 total)
  • #192985

    Hi Guys,

    I can’t work out why this code keeps closing the positions (shorts at the moment) before the MA/EMA crosses. The results show a number of opens and closes (eg9.30am-11am BST  yesterday on the Sp 500) when the MA/EMA never crosses- any ideas where I’m going wrong? Many thanks to anyone who can point out my error!

    Regards,

    John

    #192987

    FYI, I’m using the 15minute charts 🙂

    #192988

    It should only occur on LONG trades, as line 27 has no CROSSOVER provision, unlike line 50.

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

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