Not logged in
Viewing 5 posts - 1 through 5 (of 5 total)

Forums>StrategyQuant>General Discussion>STOP ORDER not correctly placed

  • #261891 |
    Customer
    107 Posts

    Hello

    Here is a very simple strategy. The pending order SHOULD BE placed in the same distance from the CLOSE.
    But if I check it in MT4 and if I measure the distances, they are different.

    Can it be, that it takes CLOSE + (for buy) and OPEN – (for sell)? Because normally it should be CLOSE + and CLOSE –

    I know, that the code shows, that it is placed from the CLOSE but the test does not show the same. And if I use HIGH  or LOW it is the same.

    And 1 more thing: the pending orders wont be replaced at every candle and I think the orders should be replaced according the actual values…

    Thank you for your help.

    Best regards
    Csaba

    • This topic was modified 9 months, 2 weeks ago by Csaba.
    • This topic was modified 9 months, 2 weeks ago by Csaba.
    Attachments:
    You must be logged in to view attached files.
    #261898
    Customer
    793 Posts

    how can be BUY and SELL stop be in the same distance, if the logic is this

    (Close(Main chart)[1] + (1.30 * BB Width Ratio(Main chart,57, 2.6, PRICE_CLOSE)[1])) Stop;

    and you are not opening the sell and buy in the same time – the difference is obvious, because of this (1.30 * BB Width Ratio(Main chart,57, 2.6, PRICE_CLOSE)[1]), it will be “always” different value

    you have set Replacing pending orders: allowed; so with every candle close, the pending order should be moved by the current conditions

     

    You want to be a profitable algotrader? We started using StrateQuant software in early 2016. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM. 1500+ final SQX strategies for members running on demo accounts to verify the edge DEMO ACCS. We provide also strategies for indices - DAX, DOW JONES, NASDAQ, SP, UK, because we have realtick data from our brokers.

    #261919
    Customer
    107 Posts

    Ohhh, how can I be so stupid….Pff… Thanks Hankey!
    You are right, that the distances wont be the same, because the 2 orders wont be placed at the same time.

    #261920
    Customer
    793 Posts

    sure and the price difference will be different for every candle, because you are using BB WIDTH indicator

    You want to be a profitable algotrader? We started using StrateQuant software in early 2016. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM. 1500+ final SQX strategies for members running on demo accounts to verify the edge DEMO ACCS. We provide also strategies for indices - DAX, DOW JONES, NASDAQ, SP, UK, because we have realtick data from our brokers.

    #261927
    Customer
    107 Posts

    Yes… And I think, generally is good to use some volatility indicator for stop orders. Like BBWIDTH or BBRANGE. Because if the volatility decreases, the stop orders will “come closer” and so we have better chances to perform better in a breakout.

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

You must be logged in to reply to this topic.