Help coding basic stock trading strategy with today's high

Forums ProRealTime English forum ProOrder support Help coding basic stock trading strategy with today's high

Viewing 5 posts - 1 through 5 (of 5 total)
  • #83756

    Can someone please help code a basic end of day stock trading strategy? Buy next day if the price reaches => today’s high. I will need to work on an exit strategy.

    This is my code that does work properly :

    Thanks very much!

    #83760

    Welcome to the forums.

    I have moved your post as it was in the wrong forum. You posted in the ProBuilder forum which is for indicator questions/topics. I have moved it to the ProOrder section which is for strategy questions/topics. Please try to post in the correct forum with future topics to maximize your chance of finding a solution and to prevent any confusion..

    Also please use the ‘Insert PRT Code’ button when posting code as it makes it easier for others to read. I have tidied up your post. 🙂

    1 user thanked author for this post.
    #83783

    How about …

     

     

    1 user thanked author for this post.
    #83837

    Thanks, GraHal for moving this post. Can you or someone please correct my code? It does not enter and exit based on my strategy. It is an EOD strategy.

    Buy next day if the price reaches => today’s high. Sell (if in the market) if the price drops to previous days low. Thanks very much!

     

     

     

    #83840

    This places pending orders on the market. Use on daily chart.

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

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