Quantcast
Channel: Traderji.com
Viewing all articles
Browse latest Browse all 10287

Problem with chart

$
0
0
Hi,
I create an index which contains two equities. When i use default settings for "Plot" function the graph is ok, but when I use styleCandle the chart doesn't work properly..What should I amend in the code to have Candle instead of basic Line chart?

My code:

This works fine but Line chart is not what I wanted:

_SECTION_BEGIN("IND_XLF1");

a1=0.5*Foreign("@ESU13","c");
a2=0.5*Foreign("JPM","c");

c1=a1+a2;
Plot( c1, "IND1", colorBlack);

_SECTION_END();

This is not working well and looks strange..

_SECTION_BEGIN("IND_XLF");

a1=0.5*Foreign("@ESU13","c");
a2=0.5*Foreign("JPM","c");

c1=a1+a2;
Plot( c1, "IND", colorBlack, styleCandle );

_SECTION_END();

I attached PrtScr.
Thank you for help!
Marek

Attached Images
File Type: jpg charts.jpg (99.2 KB)

Viewing all articles
Browse latest Browse all 10287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>