new to ea programming does this look ok?
Results 1 to 3 of 3

Thread: new to ea programming does this look ok?

  1. #1
    Hello,

    I am a newbie to EA programming... was wondering if anybody could tell me if this code is right:

    if (PRICE_OPEN==iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE _LOWER,1))


    what I am attempting to do is: if current price is equal to the lower 20 bollinger then... (next announcement )

    Thank you beforehand.

    ps. This is my first article, please excuse any faux pas.

  2. #2
    You are really, really close.

    Current price can be retrieved by using one of the http://docs.mql4.com/predefined/variables. In case, you probably want to use http://docs.mql4.com/predefined/variables/bid because all indior values are calculated using bid prices.
    Inserted Code if (Bid==iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_LOWER, 1)) And this is precisely the ideal place to ask this type of question. There are loads of people here ready to help individuals who are making an attempt to find out things there.

  3. #3
    Thank you for the trick Telsa and the reinforcement.

    I expect to be in a position to assist others ASAP.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners more information