open close ATR
Results 1 to 4 of 4

Thread: open close ATR

  1. #1
    I would like an ATR indior which utilizes open and close prices instead of low and high. Does an indior exist?

  2. #2
    Was looking for something similar could not find so fast wrote a purpose. I know this is old but it is.

    Havent tested it but wanted to post earlier I forgot to:

    double atr_close( string symbol, int timeframe, int period, int cancel )

    if ( Bars lt; interval )

    return 0;

    int count=0;

    double atr_temp=0;
    double atr_total=0;

    for ( int I=counter; ilt;period counter; I )

    double available =iOpen(symbol,interval,I);
    double close=iClose(symbol,interval,I);

    if (atr_temp lt; 0)


    atr_total=atr_total atr_temp;
    count ;

    return atr_total/count;

  3. #3
    I am looking for the exact same but also need more choices. :--RRB- I only started a thread for this.

  4. #4
    Hello, I have exactly the identical request. Only the absolute value of (open-close) of price bar, showing at the base window like the ATR the first mt4 indior that comes with the mt4 platform, could someone please help us?
    Thanks in advance!

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