Market orders in both directions…

Forums ProRealTime English forum ProOrder support Market orders in both directions…

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

    Sup all.

     

    Admins – If in wrong place please feel free to shout at me and move if needed.***

     

    I have tried to look over the forums to find the answer in other posts, but not found anything as yet.

    This will probably be an easy fix for some of you, but for me its not easy –

     

    I have a simple strategy that is profitable (Only just) and part of the reason its not as profitable as my manual trades is that when a trade closes another signal is generated (MA Crosses) but the automated system does not open a new trade, it seems to just close the trade that it was in and then waits for the next signal.

    After several weeks of calculating the trades it has taken by hand, the system would have been between 15 and 25% more profitable than it is already, but due to the fact its not taking trades at the same time as closing them the system is missing out on 15-25 trades over the life of the strategy..

     

    Im looking for help or someone to point me towards the code that would help in order to get the system to close a trade when it needs too but then also open a trade at the same time please.

    Example would be – If MFI is >80 and 50MA crosses below 200MA then sell, exit when MFI<20 and 50 crosses above 200MA. (This should then trigger a buy but it only closes the position…..)

     

    Any help would be appreciated.

     

    Many thanks.

     

    Mitch

    #69225

    It would be so much easier (than us guessing?) if you posted your full code on here as then somebody may spot the problem in a few seconds?

    You sure you don’t mean / want SellShort in the example below

     

    #69239

    My guess is also that you have a SELL where a SELLSHORT should be.

    BUY = Enter Long (Will close any short positions)

    SELL = Close Long Position

    SELLSHORT = Open Short Position (Will close any long positions)

    EXITSHORT = Close Short Position

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