Not logged in
Viewing 5 posts - 1 through 5 (of 5 total)

Forums>AlgoWizard / EA Wizard>Application Support>what is the Difference between these two functions ?

  • #112951 |
    Participant
    109 Posts

    hello guys , i need some help  :D 

    what is the Difference between (IsBarOpen) and this one :

    41LYVWe.png

    and also how to confirm the cross of MA’s by 2 bars instead of 1 ? ( with pictures pelase ^_^  )

    thanks.  :wub: 

    #127824
    Participant
    109 Posts

    hello ?

    #127829
    Participant
    109 Posts

    up x___x

    #127847
    Participant
    109 Posts

    guys this is important please !  :(

    #127899
    Mark Fric
    Administrator
    1182 Posts

    it is the same, the checkbox next to IF rule was added only to make it simpler to use.

     

    and also how to confirm the cross of MA’s by 2 bars instead of 1 ? ( with pictures pelase  ^_^  )

     

    I assume you mean you want to check that MA crossed and itwas confirmed by one more candle. Here are the rules:

    IF

    MA(x)[2] crosses above MA(y)[2]

    and

    MA(x)[1] > MA(y)[1]

    THEN

     

    The important thing here is the Shift parameters., You should use 2 for the cross condition – it will check if there was cross 2 bars ago.

    Then use Shift=1 in second condition that checks if the MA(x) is still above MA(y) 1 bar ago.

    Mark
    StrategyQuant architect

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

You must be logged in to reply to this topic.