logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
corrado  
#1 Posted : Thursday, March 26, 2015 1:10:41 PM(UTC)
corrado

Rank: Newbie

Groups: Registered Users, Subscribers
Joined: 3/26/2015(UTC)
Posts: 7

Thanks: 5 times
Hello I would like to get a candlestick chart (or if it is not possible to line) formed by the ratio of a title with another and with the volumes.

Currently I can get it indirectly by

  security ("AAPL", c) / security ("ibm", c)

This formula works but I have a line chart without volume.

there is a command to get it with the volumes and perhaps with candlestick chart? thank you very much
nasdaqtrader  
#2 Posted : Thursday, March 26, 2015 1:21:09 PM(UTC)
nasdaqtrader

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 2/2/2005(UTC)
Posts: 307

Thanks: 7 times
Was thanked: 3 time(s) in 3 post(s)

Corrado,

 

If I understand you here is a vuolume bar up green and down volume red.

Red:=(C<Ref(C,-1))*V;
Green:=(C>Ref(C,-1))*V;
Yellow:=(C=Ref(C,-1))*V;
Red;
Green;
Yellow;

 

 

Regards, Frank Koenig Trade Like a Pro Trend is your Friend
MS Support  
#3 Posted : Thursday, March 26, 2015 2:26:29 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,960

Thanks: 92 times
Was thanked: 155 time(s) in 150 post(s)
Originally Posted by: corrado Go to Quoted Post
Hello I would like to get a candlestick chart (or if it is not possible to line) formed by the ratio of a title with another and with the volumes.

Currently I can get it indirectly by

  security ("AAPL", c) / security ("ibm", c)

This formula works but I have a line chart without volume.

there is a command to get it with the volumes and perhaps with candlestick chart? thank you very much

 

Candlesticks is a price style that can only be adjusted on price plots, not indicators using the Security function.

You can call the Volume using the same Security function, you would just have separate Security functions to call the Volume data.  V is a data array just like C.

 

There is also the possibility of creating a composite security via File-->New-->Composite Instrument.  Price styles can also be available using composites, but only certain types (i.e. Addition / Multiplication but not Subtraction / Division).

mstt  
#4 Posted : Friday, March 27, 2015 7:23:07 AM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Hi corrado I'm not exactly sure what it is that you're trying to do. For example, what do you want to do with the two volumes? Added, subtracted, percentage, two volume plots, or what? Several years ago I created Heikin-Ashi candles for MSTT (MetaStock Tips & Tools) subscribers. I'm thinking that the same thing could probably be done with any composite security. The technique is probably beyond the average user but still doable with time, patience and a fair measure of frustration. It requires a number of histograms of individual prices, colors and weights to be built up using a source indicator and then ,when completed, saving that exercise as a template for later use. I've never used the templates for myself but I apply applied two templates to a couple of securities today and they displayed just what they were created for Heikin-Ashi candlesticks. I'd need to know exactly how you want your chart (template) to be put together before doing any work on it. Roy
mstt  
#5 Posted : Sunday, March 29, 2015 8:26:52 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
My article discussing construction of simulated Heikin-Ashi candlestick chart indicators and templates in the October 2007 issue of MSTT is available to anyone who would like a copy. Email your request to rlasren@quik.co.nz and I'll send you that issue. Simulated candlesticks are created by using several levels or layers of histogram bars. The final result does not not have quite the precision of real candlesticks but should be more than adequate for most purposes. Roy
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.