Pause Bot after hitting 1% Per Day

Forums ProRealTime English forum ProOrder support Pause Bot after hitting 1% Per Day

Viewing 10 posts - 1 through 10 (of 10 total)
  • #180324

    Dear all,

    I have 2 questions and I hope I’ve posted them in the right place.

    1. I’ve just started using the Wizard to create a very simple trading bot and I am in the midst of going through the Training Program (Part 1).
      I would like to seek your opinions if I should pay $95 to proceed with the advanced program course or are there any other sources of information that can help me further build my system?
    2. I would like my current trading system to stop/pause trading for the day once it hit a 1% target return per day on capital and continue after a stipulated time. Is this doable in ProRealTime and could someone advice any source code for this?

    Thank you for your time.
    Learning in Progress…

     

    #180327

    I don’t know that corse. Actually I don’t know of any course.

    You know your current level and have read any description, so I thinkyou may decide. Maybe someone who has taken that course may help you further.

    As for the code, there you go:

     

    1 user thanked author for this post.
    #180330

    Thank you.
    Apologies, can I trouble you to explain this part of the code? Is this a code instruct a buy order with stop loss at 20 pips and profit at 60 pips?

    MyLongConditions = Not OnMarket AND close CROSSES OVER Average[10,0](close)
    IF MyLongConditions AND TradeON THEN
       BUY 1 Contract at Market
       SET STOP   pLOSS   20
       SET TARGET pPROFIT 60
    ENDIF
    #180331

    I don’t know that corse. Actually I don’t know of any course.

    Maybe you do … In the attachment shows one example. There are more to be found in the Market Place.

    fxhunter, if I were you I would start with this boat load of videos : https://www.prorealtime.com/en/videos_tutorial
    (but pick the ones you think you need)
    That should keep you busy. 🙂

     


    PS: There’s a small typo in Roberto’s example on line 8 :

    1 user thanked author for this post.
    #180333

    can I trouble you to explain this part of the code? Is this a code instruct a buy order with stop loss at 20 pips and profit at 60 pips?

    Lesson #1 : The code (any code) is called once per close of bar. The length of the bar (the TimeFrame) can be chosen by yourself. Thus if you have 5 minutes bars, this code is automatically executed each start of a next 5 minute frame.

    1 user thanked author for this post.
    #180335

    Thank you.

    Actually I was referring to this,, https://www.prorealcode.com/courses/prorealtime-advanced-programming/ because i would like to learn how to code what I would like to see in the system.
    In the event, I give up, I am ready to do this.  https://www.prorealcode.com/trading-programming-services/

    Thanks for clarifying the typo.

    haha! :):):)

    #180344

    Actually I was referring to this,, https://www.prorealcode.com/courses/prorealtime-advanced-programming/ because i would like to learn how to code what I would like to see in the system.

    Haha, yes, that is the same as the one I referred to. The author is the same as the person hosting this website (Nicolas) so it is always advisable (says me).
    But those videos I linked to are also from him … as far as I know …

    And if everybody starts to follow such courses, Roberto may have some more free time. 🙂
    (although it will be what he likes to do – pulling all those coding examples from his sleeve)

    1 user thanked author for this post.
    #180348

    Actually I was referring to this,, https://www.prorealcode.com/courses/prorealtime-advanced-programming/ because i would like to learn how to code what I would like to see in the system.

    Haha, yes, that is the same as the one I referred to. The author is the same as the person hosting this website (Nicolas) so it is always advisable (says me).

    But those videos I linked to are also from him … as far as I know …

    And if everybody starts to follow such courses, Roberto may have some more free time. 🙂

    (although it will be what he likes to do – pulling all those coding examples from his sleeve)

    Great. I’m gonna go through that.
    I’m starting clueless…… long road ahead.

    #180711

    Hi there,

    I need some help with the code to pause the trading bot for the day once 2 Stop limit is hit within 1 trading day.
    I did find the something relevant but i don’t think that’s really want i need. https://www.prorealcode.com/topic/pause-system-after-2-losses/

    Let me know if i should have started a new thread for this.

    Just to confirm my understanding, codes to pause the trades after hitting 1% and after hitting 2 stop limit, should be placed before the buy/sell conditions since systems read codes sequentially?

    #180736
Viewing 10 posts - 1 through 10 (of 10 total)

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