NexusFi: Find Your Edge


Home Menu

 





ADX based Histogram help


Discussion in Platforms and Indicators

Updated
    1. trending_up 3,994 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
trader44
San Antonio, Texas
 
Posts: 3 since Jan 2012
Thanks Given: 0
Thanks Received: 0

I am wondering if it would be possible to create a histogram when specific criteria is met on the ADX. It should just be a single line (histogram) for each period the criteria is present. If it is possible, can anyone point me in the direction to find code for the following:

ADX(14) < 20
DMI+ < 20 and turning upward
DMI- > 40

then plot a red histogram


ADX(14) < 20
DMI+ > 40 and turning upward
DMI- < 20

then plot a green histogram


Any help for this would truly be appreciated! I have made many sad attempts but cannot get anything working.
Cheers!


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
SEC Advisory Committee Backs Tokenized Securities Exempt …
Traders Hideout
TradingView Opens Volume Footprint Data to Pine Script - …
TradingView
Third Circuit Backs Kalshi in Landmark Ruling -- Predict …
Prediction Markets & Event Contracts
$24.5 Billion Record Month: Prediction Markets Shatter A …
Prediction Markets & Event Contracts
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,557

Please confirm this is for MetaTrader? As you've posted in the MT section, but your profile says you use Tradestation.

Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
trader44
San Antonio, Texas
 
Posts: 3 since Jan 2012
Thanks Given: 0
Thanks Received: 0


This is for MT4. I am considering switching over to use MT4 and have experimented with some of the platform features. But I have yet to dive into the coding world they use. I am still used to the easylanguage side.


Reply With Quote




Last Updated on January 8, 2012


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts