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
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
Attachments
-
99.2 KB Views: 48