NexusFi: Find Your Edge


Home Menu

 





TradeFlow charts for MC


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one aczk with 5 posts (0 thanks)
    2. looks_two gboos with 1 posts (0 thanks)
    3. looks_3 SPMC with 1 posts (4 thanks)
    4. looks_4 Jura with 1 posts (0 thanks)
    1. trending_up 2,856 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

TradeFlow charts for MC

  #1 (permalink)
 aczk 
London, UK
 
Experience: Intermediate
Platform: MultiCharts
Trading: equities, futures
Posts: 36 since Jan 2012
Thanks Given: 3
Thanks Received: 2

Hi

I saw this and want it for MC. Does anyone have something similar. It is from CQG and looks super neat.

https://www.cqg.com/Docs/TradeFlow.pdf

thx

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
Strategy stop orders partially filled
EasyLanguage Programming
Trade idea based off three indicators.
Traders Hideout
Footprint for strategy Builder
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
66 thanks
Trading with Intuition
15 thanks
Self sabotage reframed
15 thanks
GFIs1 1 DAX trade per day journal
15 thanks
Just another trading journal: PA, Wyckoff & Trends
13 thanks
  #2 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690

I think that if you make a Range chart, then you'll only need an indicator that colours the bars depending on how many transactions were executed at the bid and the offer as a percentage of the total trades executed for that bar. So certainly not impossible or very hard to code, but I haven't done such a thing myself.

Reply With Quote
  #3 (permalink)
 aczk 
London, UK
 
Experience: Intermediate
Platform: MultiCharts
Trading: equities, futures
Posts: 36 since Jan 2012
Thanks Given: 3
Thanks Received: 2


I will give it a try, but my EL skills are still only empryonic

Started this thread Reply With Quote
  #4 (permalink)
 SPMC 
GER
 
Experience: Advanced
Platform: MC
Trading: ES
Posts: 144 since May 2011
Thanks Given: 11
Thanks Received: 213

As simple solution with Upticks/Downticks would be:

 
Code
input: BarWidth (8);
vars: BGColor (0);
Plot1 ( Low + (Upticks / Ticks)*Range,"+",green,green,BarWidth );  //Set to Barhigh
Plot2 ( Low,"+",green,green,BarWidth  );						//Set to Barlow

plot3 ( High,"-",red,red,BarWidth );						//Set to Barhigh
Plot4 ( Low + (Upticks / Ticks)*Range,"-",red,red,BarWidth );	//Set to Barlow


//Midline
if Upticks / Ticks >=0.5 then BGColor = cyan else BGColor = magenta; 
Plot5 (Low+Range/2,"Mid1",BGColor ,BGColor ,3 );					// Set to Right Tick
Plot6 (Low+Range/2,"Mid2",BGColor ,BGColor ,3 );					// Set to Left  Tick

Reply With Quote
Thanked by:
  #5 (permalink)
 aczk 
London, UK
 
Experience: Intermediate
Platform: MultiCharts
Trading: equities, futures
Posts: 36 since Jan 2012
Thanks Given: 3
Thanks Received: 2

Hi
This works great. However, I am trying to get a smoothed version of this. Below my attempt, simply averaging the individual plots. the links are from CQG website showing their smoothed (by 3 bars!?) version.

My question is hich plots would you smooth here, to get a similar result: All four like below, only one & four or only two & three etc??

My attempt, left out the midline here:


 
Code
 input: BarWidth (8),Thickness (3), Smoothing(10);
vars: BGColor (0);



Plot1 ( average(Low + (Upticks / Ticks)*Range,smoothing), "+",green,green,BarWidth );  		//Set to Barhigh
Plot2 ( average(Low,smoothing),"+",green,green,BarWidth  );							//Set to Barlow

plot3 ( average(High,smoothing),"-",red,red,BarWidth );											//Set to Barhigh
Plot4 ( average(Low + (Upticks / Ticks)*Range,smoothing), "-",red,red,BarWidth );						//Set to Barlow
thx really appreciate it

Started this thread Reply With Quote
  #6 (permalink)
 aczk 
London, UK
 
Experience: Intermediate
Platform: MultiCharts
Trading: equities, futures
Posts: 36 since Jan 2012
Thanks Given: 3
Thanks Received: 2

forgot the CQG link
Three Bar Smoothed TradeFlow Bars | Flickr - Photo Sharing!

Started this thread Reply With Quote
  #7 (permalink)
 gboos 
Sliema/Malta
 
Experience: Advanced
Platform: NT, TS, TT, MC, MATLAB
Broker: MF Global, TT, Zenfire
Trading: Crude CL, Bund, ZB
Posts: 20 since Jun 2009
Thanks Given: 0
Thanks Received: 19

May you can try this ... not tested because have no real-time data for the moment and here.

 
Code
input	:	barwidth(6); // input for plotwidth of HL bars in indicator 
input	:	smoothing(3); // average of bars to be calculated for upticks and downticks

var	:	var1(0); // variable for upticks
var	:	var2(0); // variable for downticks
var	:	var3(0); // variable of ratio of up- minus downticks compared to sum of upticks & downticks
var	:	var4(0); // average of ration for the last bares defined from smoothing
var	:	var5(0); // variable for range of current bar
var	:	var6(0); // variable for plot as a breakpoint for indicator plot (rounded to tick)


var1	=	upticks;
var2	=	downticks;
var3	=	absvalue(upticks-downticks)/(upticks+downticks);
var4	=	averagefc(var3, smoothing);
var5	=	range;
if var1 > var2 then 
	var6	=	low+(roundinst(range*var4)) else
	var6	=	high-(roundinst(range*var4));


plot1	(high, "h1", red, red, barwidth); // plotstyle Bar High
plot2	(var6, "l1"); // plotstyle Bar Low
plot3	(var6, "h2", green, green, barwidth); // plotstyle Bar High
plot4	(low, "l2"); // plotstyle Bar Low

Reply With Quote
  #8 (permalink)
 aczk 
London, UK
 
Experience: Intermediate
Platform: MultiCharts
Trading: equities, futures
Posts: 36 since Jan 2012
Thanks Given: 3
Thanks Received: 2

thx for the help...but..
the roundinst is not recognized. what is that ?

Started this thread Reply With Quote




Last Updated on August 29, 2012


© 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