Hi,
is it possible to change the cell in the print window? For example, if the direction is short the cell should be red, if not then green.
PRINT
Or can i write short or lon g in the upper right corner of the chart?
Sure. Quick example which shows Red when the Gain is less than -120 :
If Gain < -120 then
Print Gain Coloured("Red") as "Gain"
else
Print Gain Coloured("Green") as "Gain"
endif
Of course you can adapt this to If ShortOnMarket then …
To print a number isnt a problem, but how can i print text? Or isnt possible?
Unfortunately that doesn’t seem possible. However, I think you should be able to make something in an indicator ? There we can write “text” as such. But it seems a lot of trouble for something which can be done in other ways ? (simple Graph in the program code).
Use DrawYext to print text embedded in quotes, not text data as the alphanumeric data type is not supported.