End Of Day – YEN M15 Strategy

Forums ProRealTime English forum ProOrder support End Of Day – YEN M15 Strategy

Viewing 15 posts - 46 through 60 (of 96 total)
  • #212521

    Have you tried …

     

    1 user thanked author for this post.
    #212524

    When you say that you can put both functions in the same algorithm, I will answer yes because it is just lines of code, however if the long market function is executed first then the short market function will not be executed as a short but as a sale of the first long position,

    Try to understand what is happening;

    Nothing prevents you from putting a PENDING Limit and Stop order at the same time. If this is not understood, then go to the manual once more and look up how an order like

    Buy x Contracts at PriceY Limit

    and

    SellShort x Contracts at PriceY Stop

    works, and while you’re at it, how that would work with manual trading.

    If I’d like, I could place 100 (and more) Limit and Stop orders all at the same time. And they would really all be there in Live (or Demo), including their order labels. Whether this is useful, is something else.

    It is totally unrelated to having two opposite positions (!) in the system at the same time.

    🙂

     

    I completely agree with you that two orders can be put on hold at the same time in the same algorithm, this is not a problem,

    On the other hand, here is what could happen in a very simple case with some round numbers to explain the example :

     

    In this example we assume that the first order that could be executed was the Long order at a price of 10, In this case our SL will be calculated automatically and will be 50% of the entry price so it will be worth 5, So in this case we will be taken out of the market if the price reaches 5, Now if our market entry conditions are still valid, it means that the Short order at a price of 8 is still waiting to be executed,

    In this case (and correct me if I’m wrong), if I understood the documentation correctly: the short sell order will turn into a normal sell order and it will take us out of our position at the price of 8 even if our SL is still pending at 5

    Or will the program understand and make the difference between the SellShort order and the SL order and because it has a SL at 5 then it will ignore the SellShort 8 (the SellShort that could turn into a normal Sell in our case)?

    I hope to be clear in what I am saying

    #212529

    Have you tried …

    tks for your answers, Not working too, but think it’s a limitation of the GraphOnPrice fonction, So now I will not spend more time on this think, I will ask other time if we need it, Now let’s focus on good stop and trailing stop management 🙂

    #212537

    Set Stop %Loss 50

    Above means 50% of your Trade(s) Contract Value .. could result in a very big loss!

    #212539

    yes yes, Tks you GraHal , but the answers is for @PeterSt, and the 50% it’s just an exemple 😅

    #212541

    Here I am correcting my code at the level of the trailing stops,
    they have 2 variable :

    – the first one is Points2BE, with this vaiable we change the entry price to BE so to trade price entry and we add 2 time the spread of 2 in this code,
    – the second one is trailinstart, with this variable we calculate every candle when we are OnMarket the difference between the hiest candle with the trailling stop and if we get more the trailinstart point we change the trailing stop to this differnce

    and tks to @JC_Bywan for GraphOnPrice and to @PeterSt for the tips

    #212717

    In this example we assume that the first order that could be executed was the Long order at a price of 10, In this case our SL will be calculated automatically and will be 50% of the entry price so it will be worth 5, So in this case we will be taken out of the market if the price reaches 5, Now if our market entry conditions are still valid, it means that the Short order at a price of 8 is still waiting to be executed,

    In this case (and correct me if I’m wrong), if I understood the documentation correctly: the short sell order will turn into a normal sell order and it will take us out of our position at the price of 8 even if our SL is still pending at 5

    Or will the program understand and make the difference between the SellShort order and the SL order and because it has a SL at 5 then it will ignore the SellShort 8 (the SellShort that could turn into a normal Sell in our case)?

    I hope to be clear in what I am saying

    just to answer my self, there is a good exemple where Proorder open a long position at limite price but they close it for execute the SellShort, in this case it executes the SellShort as et Normal Sell for the last Long posiion, and also they use the Buy order for close the SellShort position Instead the ExitShort :

    #212719

    TIP / friendly nudge 😉

    When we Quote we highlight a phrase (a few words) in the text of a post and then click on Quote.  This makes it much more user friendly (than Quoting 4 paragraphs of text). If folks want to read the 4 paragraphs / source of the Quote they only have to click on the Quote. 🙂

     

    What you say in your post above (in answer to yourself) is normal behaviour for PRT. It happens the same for all of us.

    1 user thanked author for this post.
    #212741

    tks for tip, I try it with out succes, I will try next time,

    @GraHal @All if you know a good link explaining this methde of catching breakout or catching liquidity I will be happy to read or watch it and understand it for more comprenssion for this algo 😊

    #212750

    Have a look at this

    https://www.youtube.com/watch?v=nVNSAoFKKOk

    1 user thanked author for this post.
    #212753

    Have a look at this

    https://www.youtube.com/watch?v=nVNSAoFKKOk

    I also found this one :
    https://youtu.be/bov9W02ZR_0

    if do find other where they explain why and the mening of the strategry it will be great, I will try to undrtsnad every one to get the max of informaion and see wht I can do with tht for this algo 😊

    1 user thanked author for this post.
    #213022

    I also found this one :
    https://youtu.be/bov9W02ZR_0

    @GraHal I will try to do this video in the code , I think it’s realy simple, even I don’t understand what he use for chose the value of Stop loss, if sme one have some idea pls ?

    #213023

    also that is the Version 8 of this code, Not much exceptional even if the result in M 15 is 10070% (50K history), with 200K we have only 18% before the stratery qquit because of the huge drowdawn from 190K to 120k after only 3 trade with sure the very bad entry of this algorithme and also the bad manage of the number of share, but it’s intreseting,

    Also I add the Tralling MFE with some different setting, it’s not the best but maybe can helpful to find somethink new

    if some one have some good idea or strategy to control the drawdown and the exposition it will be welcom ?

    #213035

    In the continuity of the improvement of this algorithm of which I see many subjects now on the forum, I made a copy of this code from this topic with a very small modification on the code so that it is a little more clear,

    there is the original code :

    to this code :

    Next messag eI will post some picture and GTM problem with France for be sure to adjust the time to Tokyo session there is only from 9AM to 3 PM in tokyo if I’m not wrong

    #213037

    Let’s start by correcting the timetable, the Japanese market is open from 9am until 11:30am and then from 12:30pm to 3pm Tokyo time, we can summarise that the market is open from 6 a.m. to 3 p.m., So 6 hours of opening time

    so in GTM (UTC) time the Japanese market is open from 0 to 6 a.m GTM, so for france trader like me they have 2 situation :
    – in the summer France is +2 GTM, so this tokyo box is from 2am to 8am
    – in the winter France is +1 GTM, so this tokyo box is from 1am to 7am

    so now we e in the summer, the code about it’s like this :

Viewing 15 posts - 46 through 60 (of 96 total)

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