Quick Question – One order per day

Forums ProRealTime English forum ProOrder support Quick Question – One order per day

Viewing 12 posts - 1 through 12 (of 12 total)
  • #7319

    Hi, Great forum.

    I want to only have one order executed per day within my code, what is the easiest way to achieve this?

    #7323

    Hi Cosmic1,

    Try it and let me know if works for you!

    Cheers

     

    1 user thanked author for this post.
    #7327

    Thanks for the quick reply. Unsure of how to get it to work within this code…

     

    #7351

    Hi, this is an usual question, we should made a code snippet for that within a blog article! 🙂

    Just flag whenever your first trade occur and reset this variable each new day. This variable must be also part of your conditional statement to launch a trade of course, here is your code with these modifications :

     

    1 user thanked author for this post.
    #7358

    Many thanks Nicolas.

    Another question is how do I enter trades x points above today high or low?

    #7389

    We start defining how many points

    And then we set high and low of current day

    And last we set orders

     

     

     

    1 user thanked author for this post.
    #7390

    Your full code with this implement should be like this:

     

    1 user thanked author for this post.
    #7424

    Many thanks chaps, very helpful 🙂

    #7441

    Another day another question! What is the correct way to scan the market for today’s high and low between set timeframes?

    #7447

    Hi Cosmic, we are talking about something like you ask here:

    http://www.prorealcode.com/topic/coding-for-high-and-low-between-set-hours/

    Have a look

    😉

    #7636

    Hey Adolfo, Had a look but unsure of how to get this working.

    I want to look at the highest and lowest price for the range 1430-1700 for the current day.

    Then I will take a breakout of that range long or short on the same day.

    I have tried many things but cannot get it to work! Any help greatly appreciated.

    #7639

    I think I may have it working, will let you know soon 🙂

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

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