NexusFi: Find Your Edge


Home Menu

 





Delta divergence indicator ...


Discussion in EasyLanguage Programming

Updated
    1. trending_up 6,978 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)
 
marcovth's Avatar
 marcovth 
Canada
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES,6E
Posts: 25 since Jun 2010
Thanks Given: 1
Thanks Received: 30

Hello ...

I am new to coding and I am trying to code a delta divergence indicator for
MultiCharts similar to this one ... YouTube - Delta Divergence Indicator

Can some one give me some suggestions on how I can calculate the Min and Max
delta per bar?

I have tried this, but it's not working.

 
Code
Var:IntraBarPersist Delta(0); 
Var:IntraBarPersist MaxDelta(0);
Var:IntraBarPersist MinDelta(0);

Delta = Upticks-DownTicks;

Plot30( Delta, "Delta");

If Delta > 0 Then
setPlotcolor(30,GREEN)
else
Setplotcolor(30,RED); 

If Delta > 0 and Delta > MaxDelta then MaxDelta=Delta;
If Delta < 0 and Delta < MinDelta then MinDelta=Delta;

Plot10( MaxDelta, "MaxDelta");setPlotcolor(10,BLUE);
Plot20( MinDelta, "MinDelta");setPlotcolor(20,BLUE);
The idea is to create three histograms, with the Delta histogram
on top of the MaxDelta and MinDelta histograms. And with the
Delta histogram having wider bars.

This should then look very similar to the delta candles as in the video.

Thanks in advance for any suggestion.

- Marco.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 thanks
  #3 (permalink)
 
FulcrumTrader's Avatar
 FulcrumTrader 
Austin, TX & Las Vegas, NV
 
Experience: Advanced
Platform: Investor RT Pro, NT 7.0
Trading: ES, DAX, CL, 6E
Posts: 230 since Mar 2010
Thanks Given: 32
Thanks Received: 287



marcovth View Post
Hello ...

I am new to coding and I am trying to code a delta divergence indicator for
MultiCharts similar to this one ... YouTube - Delta Divergence Indicator

Can some one give me some suggestions on how I can calculate the Min and Max
delta per bar?

I have tried this, but it's not working.

 
Code
Var:IntraBarPersist Delta(0); 
Var:IntraBarPersist MaxDelta(0);
Var:IntraBarPersist MinDelta(0);
 
Delta = Upticks-DownTicks;
 
Plot30( Delta, "Delta");
 
If Delta > 0 Then
setPlotcolor(30,GREEN)
else
Setplotcolor(30,RED); 
 
If Delta > 0 and Delta > MaxDelta then MaxDelta=Delta;
If Delta < 0 and Delta < MinDelta then MinDelta=Delta;
 
Plot10( MaxDelta, "MaxDelta");setPlotcolor(10,BLUE);
Plot20( MinDelta, "MinDelta");setPlotcolor(20,BLUE);
The idea is to create three histograms, with the Delta histogram
on top of the MaxDelta and MinDelta histograms. And with the
Delta histogram having wider bars.

This should then look very similar to the delta candles as in the video.

Thanks in advance for any suggestion.

- Marco.

MultiCharts does not have the ability to properly track the Cumulative Delta at this time so they have no such indicator. For solid Cumulative Delta tracking you will need to stick to marketdelta.com, Investor RT, or some of the NT7 choices (with ONLY DTN.IQ feed).


Reply With Quote




Last Updated on October 19, 2010


© 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