About to give up… is PRT not the code for a simple breakout strategy?

Forums ProRealTime English forum ProOrder support About to give up… is PRT not the code for a simple breakout strategy?

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

    Hi Traders,

    I am feeling I am about to hit a brick wall… for several weeks I have tried to learn and asked for your help regarding a simple breakout strategy:

    1. go long above the high of the 0945-1000 bar
    2. or go short below the low of the same bar
    3. i defined a target profit and a stop loss
    4. i wanted only 1 trade if the first trade was a win, else try a second and final trade for the day
    5. i wanted to trade only during the 0930-1600 NYC session timeframe
    6. i was using YM instrument

    Below is my code (incorporates a lof of tweaks from the PRT community).

    I have never managed to have trades placed in the 1000-1015 bar right after the breakout bar. I repeat: the system never placed an order in that first eligible bar; the earliest would always be the 1015-1030 bar.

    I truly believe my code has mistakes, however thus far, no one was able to solve what I initially thought would be an easy set of instructions. I did make a lot of progress with a few specific brilliant minds here in the PRT community but the code never managed to place orders in the first eligible bar (1000-1015).

    If someone can point me in the right direction, I would be extremely thankful. I am new to PRT but I really like it (and the community as well), however this is becoming a very tough experience for me to believe there is still light at the end of the tunnel…

    Many thanks either way everyone.

     

     

     

     

     

    #243254

    Did you try …

    If High >HI+Buffer  then
    BUY CON  CONTRACTS AT HI+Buffer  Stop //not Limit
    IF Low <LOBuffer  then
    SELLSHORT CON CONTRACTS AT LOBuffer  Stop // not limit
    #243280

    Hello! In order to enter on the 10:00 candle, everything must be fulfilled on the 9:45 candle. This code is useful for entering on the 10:00 candle on the breakout.

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