Not logged in
Viewing 15 posts - 1 through 15 (of 28 total)
  • #112139 |
    Participant
    38 Posts

    HI

     

    I just want a rule that says as soon as a new candle opens, then enter a trade.  Can anyone tell me how?\

     

    Thanks

     

    #124454
    Mark Fric
    Administrator
    1182 Posts

    simple condition:

     

    IF IsBarOpen is true

    THEN…

    Mark
    StrategyQuant architect

    #124460
    Participant
    38 Posts

    Great  thanks.

    #124461
    Participant
    38 Posts

    Does Open P/L in pips give a whole number e.g 15  or  0.0015?

     

    Thanks

    #124462
    Participant
    38 Posts

    Also, I made an EA that will open on two different pairs, but it only opens on the pair the chart is on.

     

    Rules are

     

    1.  If bar is open

     

    2.  then open a long on EURUSD  & on USDCHF 

     

    Am I doing something wrong?

    #124464
    Mark Fric
    Administrator
    1182 Posts

    Open P/L in pips returns whole number, for example 15

     

    – problem with opening two trades – it i shard to tell you what is wrong. It should work this way. Do you use different magic number for each order?

    Mark
    StrategyQuant architect

    #124472
    Participant
    38 Posts

    Yes I’m using different magic numbers.

    #124477
    Participant
    38 Posts

    Mark, here is the strategy file.  Could you take a look?

     

    Thanks

     
    Attachments in this forum are visible only for registered users.
    #124521
    Mark Fric
    Administrator
    1182 Posts

    I found one issue that made problem when opening order on another symbol, we’ll release autoupdate later today that will fix it.

    Mark
    StrategyQuant architect

    #124523
    Participant
    38 Posts

    Great thanks.

    #124544
    Participant
    38 Posts

    Any update on the fix?

    #124593
    Mark Fric
    Administrator
    1182 Posts

    I’m sorry, it takes longer than expected, we’ll release update tomorrow (7 May)

    Mark
    StrategyQuant architect

    #124640
    Participant
    38 Posts

    Thanks for the fix Mark, much appreciated.

    #124642
    Participant
    38 Posts

    Mark,

     

    My broker symbols are suffixed with SB.  So USDCHF is USDHFSB.  How can I change the symbol in EA Wizard so that it will have SB on the end.  At the moment my broker rejects usdchf from ea wizard.

     

    Also, I thought the function “Is bar open” would only open a trade when a new bar opens?  I put it on the daily chart and it immediately opened a trade instead of waiting for a new bar.

     

    Thanks.

    #124656
    Mark Fric
    Administrator
    1182 Posts

    Hello,

     

    there are no fixed symbols in EA Wizard, you can rewrite them and write any text.

     

    Also, I thought the function “Is bar open” would only open a trade when a new bar opens?  I put it on the daily chart and it immediately opened a trade instead of waiting for a new bar.

     

    yes, it should work like this. As I checked there was an error introduced with support for Range/Renko charts update – now it opens the trade also when the EA starts.

    I’ll release an autoupdate today that fixes this problem.

    Mark
    StrategyQuant architect

Viewing 15 posts - 1 through 15 (of 28 total)

You must be logged in to reply to this topic.