True Asian Range (TAR)

Forums ProRealTime English forum ProOrder support True Asian Range (TAR)

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

    Dear all,

    I am trying to code a strategy with parameters as below:

    • Assumption: The range (or box) created with both “highest” and “lowest” in the period 00h00 – 06h00 (London Time) is supposed to be filled during western sessions (London, NY).
    • Ordering: BUY: Price crosses over the “lowest” of the range / BUY EXIT: Price = “highest” of the range / SELL: Price crosses under the “lowest” of the range / SELL EXIT: Price = “lowest” of the range.
    • Frequency: Each day, only 1 possibilty: BUY or SELL or no trade (no trade if the price don’t need liquidity on support/resistance-levels created by the range and moves linearly up- or downside).
    • Scope of Use: Forex-Main Currencies, excepted the most active ones during the range (JPY, AUD, NZD) – To be checked!

    Based on a Nicolas Video (“How to create a breakout box between 2 hours” – (67) How to create a breakout box between 2 hours – ProRealTime – YouTube), I have tried to build an indicator and also an auto-trading-code (see below), but I am not satisfied with both of them.

    I would be very thankful for each help and would share with you the afterwards optimization of this strategy (for example, by adding  a stochastic or price-action-parameters).

    Thanks & Regards

     

    INDICATOR:

     

     

     

    AUTO-TRADING:

     

    #212497

    The code seems right to me, just change the last line and add GRAPHONPRICE to visualize the levels:

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