NexusFi: Find Your Edge


Home Menu

 





Delta divergence indicator ...


Discussion in EasyLanguage Programming

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




 
Search this Thread

Delta divergence indicator ...

  #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 - [AUTOLINK]Delta[/AUTOLINK] 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?
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Quantum physics & Trading dynamics
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
24 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
16 thanks
GFIs1 1 DAX trade per day journal
12 thanks
EG Indicators
11 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 - [AUTOLINK]Delta[/AUTOLINK] 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts