End Of Day – YEN M15 Strategy

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

Viewing 15 posts - 31 through 45 (of 96 total)
  • #212439

    @PeterSt

    1. Tks you, I will try your solution after come back home 🙂
    #212441

    yes, he places long and short pending orders at the same time

    #212442

    an example

    #212445

    Long trade and Short trade on the same single / 1 only AutoSystem?

    #212452

    yes, it does long and short pending commands at the same time with a single algo

    #212454

    long and short pending commands

    Pending commands yes, but that cannot result in a long and short trade both onmarket at the same time with a single Algo.

    #212456

    No, the system places stop orders at the specified limits… one order is triggered, the other is automatically deleted. That’s all.

    1 user thanked author for this post.
    #212457

    Everything else is trade management.

    #212464

    fifi743

    hi @fifi743
    Can you be a little clearer in what you say, There is a problem of misunderstanding I don’t know if it’s me or you or both of us

    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,

    According to the documentation it is not possible to be long and short at the same time with the same algorithm, when we talk about being long and short at the same time on a market we talk about Hedging (2 opposite positions)

    Or am I wrong ?

    Would you perhaps have an example of an algorithm to propose for better understanding?

    You can see an image capture with an extract of the documentation in French

    #212466

    Try …

    it doesn’t work, I had also thought of this idea and at the time I thought I had found the solution 🤣 but unfortunately it doesn’t work 😅

    #212467

    but how to don’t draw it when we don’t have a trade open :

    Note that really “don’t draw” does not exist. Here you see the exit from this morning (in the coffee-spoiling topic 😉 ) and it is depicted by the green line. So this line changes position because I tell it to, but when the position is exited I stop drawing that green line (and more). Now this line keeps on drawing automatically, but while this seems strange, it is even convenient. See 2nd screenshot. You can easily see where this green line was in action, and can zoom in to it when you want. In my case these are the trailing stop exits (the darker green line). Just learn a bit to utilize this feature. You will see it is quite handy.

    Your solution doesn’t seem to work, we’re back to the debugging problem, in this particular example I suspect that the last trailing Stop value remains in memory and the program uses it anyway, even if it is undefined

    but it’s ok, we will not lose more time for this graph problem, I will start tomorrow to use more option for traling and why not include the short position in the same time and lest do the result

    #212469

    Your solution doesn’t seem to work,

    I guarantee you it works. But with the conditions I described. And notice that you asked for not Graphing when Not OnMarket.

    The remainder of that code (snippet) does not work at all, obviously. The Undefined also does not work.

     

    #212470

    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.
    🙂

    #212485

    I tried to explain that above. What is there not to understand?

    #212516

    Your solution doesn’t seem to work,

    I guarantee you it works. But with the conditions I described. And notice that you asked for not Graphing when Not OnMarket.

    The remainder of that code (snippet) does not work at all, obviously. The Undefined also does not work.

    Again I misspoke, your solution Works but not in the way I want, (the way I want to is : Not drawing anything when I am not in a position on the market), I understood that it was not possible to do this, So this is clear

Viewing 15 posts - 31 through 45 (of 96 total)

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