Paintbar indicator within Strategy?  [SOLVED]

Questions about MultiCharts and user contributed studies.
StefanoSF
Posts: 116
Joined: 19 Aug 2012
Location: San Francisco
Has thanked: 23 times
Been thanked: 30 times
Contact:

Paintbar indicator within Strategy?

Postby StefanoSF » 02 Sep 2014

Probably a silly question, but for scripting simplicity and minimizing code redundancy, is it possible to code a "Plot" or "PlotPaintBar" statement into a strategy?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Paintbar indicator within Strategy?  [SOLVED]

Postby Henry MultiСharts » 03 Sep 2014

Hello StefanoSF,

Since MultiCharts 9.0 Beta 1 you can use i_setplotvalue and i_getplotvalue. These reserved words allow sending information from a signal to an indicator that will do a plot on the chart. More details here.


Return to “MultiCharts”