Asian session high/low trading strategy, improvement ideas welcome!

Forums ProRealTime English forum ProOrder support Asian session high/low trading strategy, improvement ideas welcome!

Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • #93880

    Dear all

    I came up with the idea to create a short trading strategies that will use the asian high/low of the day as trigger for the rest of the forex trading day.

    At the first glance the code looks good, but I don’t like the sharp decline you see in the  end of the chart.

    Any ideas how to improve the code is very welcome.

    Thanks

    #93887

    Could you post the actual text of the code (using the ‘Insert PRT Code’ button) to save people from having to import the ITF file? You might get more help if it is easier for people to see the code.

    #93889

     

    #93890

    I am aware that the same functionality could be written smarter – but regarding readabiliy I kept this version.

    #93891

    Don’t worry about your coding style 😉 and thanks for sharing the idea.

    So the strategy is allowed to loose multiple times the same day? I think that there might be something to do with orders quantity in a single day?

    #93892

    I did some analysis on the charts and also regarding fake moves. so it’s better – much better to add the final trigger mark 3 pips above high , lower low.

    the revisted code looks now like this:

     

     

    #93894

    Nicolas good point. To be honest I haven’t thought about it. But as you see in v2 I added a TP of 20pips now.

    Yes, maybe additional profit could be generated by placing a “smart” stop loss fx here as well.

    Any suggestions folks?

    #93900

    Basically what you have coded is a break out strategy that only trades during the European and US sessions on breakouts of the Asian session high and low. This will always work better in trending markets than in sideways markets so adding a market sentiment filter of some sort might help. Also separating the strategy into two strategies – a long only and a short only might also be beneficial as when the Asian session ends with very close high and low then it is very likely that you will open a trade and quickly get stopped out in a reversal – and possibly many times! Having separate strategies allows you to play a little with different stop ideas other than relying on a breakout in the opposite direction for a stop which could be very close or very far away depending on Asian session volatility.

    1 user thanked author for this post.
    #93901

    You could also make some data mining (stats) about how orders are performing depending of the High/Low range. Partial closure at predetermined level (e.g. 20 pips profit, next major round level, pivot points, ..) and let the rest run in profit could argue in favor of improvements?

    1 user thanked author for this post.
    #93910

    You could also make some data mining (stats) about how orders are performing depending of the High/Low range. Partial closure at predetermined level (e.g. 20 pips profit, next major round level, pivot points, ..) and let the rest run in profit could argue in favor of improvements?

    Are you suggesting simulating trades to match TP and SL to current market volatility? Sounds right up my street although so far I have found that it as badly lagging as a very lagging indicator from my tests so far.

    Your second suggestion of partial closure would be interesting to test but PRT currently don’t allow us to run this live so it might be wasted effort if you want to run the idea automatically.

    #93920

    Basically what you have coded is a break out strategy that only trades during the European and US sessions on breakouts of the Asian session high and low.
    > YES

    This will always work better in trending markets than in sideways markets so adding a market sentiment filter of some sort might help.
    -> Could you give me a hint which sentiment filter you think?

    Also separating the strategy into two strategies – a long only and a short only might also be beneficial as when the Asian session ends with very close high and low then it is very likely that you will open a trade and quickly get stopped out in a reversal – and possibly many times! Having separate strategies allows you to play a little with different stop ideas other than relying on a breakout in the opposite direction for a stop which could be very close or very far away depending on Asian session volatility.
    -> Totally agree. But how to accomplish this in PRT? I cannot open long euro and at the same time short euro. Yes, I could go 10x euro mini long and hedge by 1x euro short or play with options – as I do manually. In general – automatic hedging is very tricky or almost impossible with PRT I guess – as we are not able to monitor/trade more than 1 financial instrument withing one algo code.

     

    #93940

    I’m afraid I can’t tell you which sentiment filter but it could be something as simple as a longer term moving average or anyone of the multitude of filters in the library. Maybe jebus89’s idea being discussed here might be a starting point for testing:

    https://www.prorealcode.com/topic/higher-timeframes-bollinger-filter/

    As far as I am aware it is possible to be both long in one strategy and short in another on an instrument. However I believe that if your account is a limited risk account then you can’t do this.

     

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

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