Catch a move each day with the channel made during night

Forums ProRealTime English forum ProOrder support Catch a move each day with the channel made during night

Viewing 15 posts - 1 through 15 (of 15 total)
  • #5783

    Hi,

    I have tried to write a code that “Catch a move each day with the channel made during night”. It dose that by define a channel each night, and then add some distance to a Buystop and a Sellimit. But I cant get it right, can some please help? 🙂

    Exit by Stoploss and takeprofit

    #5785

    Its made for OMX, or similar. And on 30M, or lesser timeframe.

    Namnlös3

    #5787

    At line 13, for your c1 condition you are testing if close is already above HL1.

    Then at line 17 you’re trying to place a stop order at HL1, but you cannot do that, because a stop pending order must be placed above the price (for buying purpose).

    If you already known that the price has break up your defined zone (c1 is true), then just BUY at that moment directly on market, without setting a stop order:

    That is for the buy condition. For your sell one, you have totally messed up the whole code here 🙂 Because if you want to set pending orders, don’t test if price has already crossed up or down your trigger prices! Just defined your pending orders and that’s all! 😉

     

    #5800

    Thanks Nicolas!
    I tried this:

    But the system takes so many trades a day, like in the picture. I wish it only to take one buy and/or one sell-trade day.

    #5802

    I use it on 1 min timeframe now 🙂

    #5803

    Sorry, I found the problem 🙂

    It should be like this:

     

    #5805

    Hi, i’m working on a breakout strategy and get this:

    I did a backtest on it and seems like it’s working fine, hope it helps you!

    Cheers

     

    #5815

    Thanks!

     

    #5816

    Is it possibile maybe to filter trades by, for example, SuperTrend? 🙂

    #5817

    Sorry i don’t know what SuperTrend is… atm!, will check it!

    #5821

    Sorry, my bad, its an indicator:
    http://www.prorealcode.com/documentation/supertrend/

    #5834

    This was the best I came up with today, BUT it need more backtesting!

     

    #5836

    It dosent seem to work on other period then I tested on 🙂

    #5841

    Hi again Nicolas, Adolfo or someone else.
    I would like to make a filter (or system) witch only allows trades
    if the prize sometime during the day,
    during a period of 8 hours hasn’t moved more than 2 points.
    If the prize after the 8 hours period breaks up or down,
    the system should take an order in the direction.

    I have tried to make this, but can’t get it right.
    I use it on 5 min timeframe.

    I tried this:

    But I don’t know how to define the “8h, no more than 2 points” channel.
    Thanks!

    #5842

    Hi, i found this error:

    Cheers!

     

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

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