Sell at a optimized specific time

Forums ProRealTime English forum ProOrder support Sell at a optimized specific time

Viewing 2 posts - 1 through 2 (of 2 total)
  • #113959

    Hi, I want to see if there are specific times that are better to trade in a specific stock. I have tried the code at a 5min chart. The optmization for buy time work as it should but I dont get the code to do what I want when selling. If i try a fixed time for selling the code works as it should but running the code, trying to optimize the selling time, it always sells at 17.30 (FLATAFTER = 173000) Can someone please help me with this problem! The .itf is also attached.

     

    #115703

    Hello Seatrout

    The function TIME is a specific and fixed one assigned by PRT, its format “HHmmnn” cannot be changed nor altered or incremented what so ever.

    furthermore be careful to write the correct Numbers of zero, its seems that your “buytime = t*10000 + …” misses a zero .

    Be simple in your coding, with the DAX, one Supertrend for the long and another one for the shorts is far away the best 🙂
    Then, the market operators and their spychology are not the same along the day, statistically you have one setting from 090200 to 095500, one from 100200 to 124500 and the last from 141500 to 163000. Black hours at lunch time (124500 to 141500).
    Hope this help. Good luck.

Viewing 2 posts - 1 through 2 (of 2 total)

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