Click here to Login





                                                   chart types

  0

0
Juliettpapa
2011-04-27 15:54:28


i miss heikin ashi candles.




QuantShare
2011-04-30 04:15:30



Added to the to-do list


QuantShare
2011-05-03 13:49:25



Try the following formula:

HaClose = (open + high + low + close)/4;
HaOpen = AMA( Ref( HaClose, 1 ), 0.5 );
HaHigh = Max( high, Max( HaClose, HaOpen ) );
HaLow = Min( low, Min( HaClose, HaOpen ) );
xDiff = (HaHigh - Halow) * 10000;
PlotCandleStick1( HaOpen, HaHigh, HaLow, HaClose, "", colorRed, StyleSymbolNone );
UpdateColor(HaClose >= HaOpen, colorGreen);



Juliettpapa
2011-05-03 15:32:56



OK, works well.
But you should implement that as as "View - chart style"

And because it works so fine there is the next question:
My old application tradesignalonline was able to "save" the charts.
Thats why i could use normal candlesticks for stock charts daily AND heikin ashi for commodities weekly (comm i trade weekly with hekin ashi)

Is it possible to do so in QS?
(of course, i know change watchlist and than change layout - thats ok)
But is there a way to "associate a layout to a watchlist?"
(Please take my foolish questions as ideas to improve QS)
;-)

Joerg



QuantShare
2011-05-25 06:15:56



Feature added in version 2.4.0


GS
2012-09-03 17:28:38



Hi,

It is possible to directly access O,H,L,C values of Heikin-Ashi candle? I understand that we can use the above mentioned formula, but that will make my code bit lengthy.

Thanks



QuantShare
2012-09-03 17:34:56



You must use the above formula. Just add it then use the "HaClose", "HaOpen"... variables.




GS
2012-09-03 17:53:41



OK, I need one more information, in QS what is equivalent of "Cum(close)", where Cum is defined as :

=========
Cumulate

cum (DATA ARRAY)
Calculates a Cumulative Sum of DATA ARRAY beginning from the first period in the chart.

The formula cum(1) calculates an indicator that rises one point for each bar since the beginning of the chart.
The formula cum(Close) calculates the cumulative total of all closing prices from the beginning of the chart.
=========

Thanks



QuantShare
2012-09-03 18:29:10



Sum(close)


GS
2012-09-03 18:54:28



Thanks a lot.


No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Chart Patterns: Double Top and Double Bottom
Drawdown and Rate of Return On Your Chart
Watchlists on Your Chart
Symbol Information on Chart
Detect and Display Potential Splits on a Chart

How-to Lessons
How to create a chart with a black background
How to download new quotes when selecting a chart
How to plot arrows below/above candlesticks on a chart
How to print a chart
How to display notes/commentaries on a chart

Related Forum Threads
Heiken ashi and Renk chart types in stratregy code?
Chart Pattern Index problem
How to draw two symbols on 1 chart
NIFTY CHART
Add a trading system to the price volume chart

Blog Posts
Different periodicities and chart bar types in QuantShare Trading...
A simple but useful way to display distances in a chart
How to Calculate and Display the Bid/Ask Spread on a Chart
Custom Shortcuts - Move a Chart to Display the Last Quotes/Data
Update Chart Layout based on Active Time Frame









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.