ATR of only green candles - futures io
futures io futures trading

ATR of only green candles

Discussion in EasyLanguage Programming

Updated by Kolnidrei
    1. trending_up 1,274 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 replies
    2. attach_file 0 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

ATR of only green candles

(login for full post details)
  #1 (permalink)
Tel aviv israel
Posts: 1 since Aug 2020
Thanks: 0 given, 0 received

Hi guys,
How can i program an indicator the does an average of only the last 14 green candles?
or red candles.. doesn't matter

Reply With Quote

Can you help answer these questions
from other members on futures io?
Do You Have A PlayBooks/What Form Does It Take?
Traders Hideout
Do you know any futures platform that allows grid automation like shown on this vid?
Platforms and Indicators
3x Fangdango
Traders Hideout
FX Futures have been nagging me for a while
Range bar differences in Tradestation vs. TOS
(login for full post details)
  #2 (permalink)
Posts: 4 since Aug 2012
Thanks: 1 given, 3 received


if C>O then begin
if greenarraycounter=Period+1 then greenarraycounter=1;
value1 = AverageArray(greenArray);
if C<O then begin
if redarraycounter=Period+1 then redarraycounter=1;
value2 = AverageArray(redArray);

Reply With Quote
(login for full post details)
  #3 (permalink)
Posts: 4 since Aug 2012
Thanks: 1 given, 3 received

the above code is just for the average, if you want the ATR you need to replace the 'C' by 'H-L'...

Reply With Quote

futures io Trading Community Platforms and Indicators EasyLanguage Programming > ATR of only green candles

August 16, 2020

Upcoming Webinars and Events

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts