Yelp

To add comments, please log in or register
farid040
141
farid040  

Hi There, how can i make below script to buy from second same bar but not from first ?

double Buy1_1 = iClose(NULL, 0, Current + 0);

double Buy1_2 = iClose(NULL, 0, Current + 1);


double Sell1_1 = iClose(NULL, 0, Current + 0);

double Sell1_2 = iClose(NULL, 0, Current + 1);


THANKS !

William Roeder
18880
William Roeder  
  1. When you post code please use the CODE button (Alt-S)! (For large amounts of code, attach it.) Please edit your (original) post.
              General rules and best pratices of the Forum. - General - MQL5 programming forum
              Messages Editor

  2. Yelp (sic) you with what? You haven't stated a problem, you stated a want. Change the bars you are looking at.
    You have only four choices:
    1. Search for it,
    2. Beg at
    3. learn to code it. If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours.
    4. or pay (Freelance) someone to code it.
    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
              No free help
              urgent help.

To add comments, please log in or register