Description Usage Arguments Details Author(s)
This will plot the OHLC bars & corresponding trades performed.
1 2 |
pf |
- portfolio which needs to be graphed |
prices |
- OHLC of the shares/equity |
file |
- filename where pdf to be stored. Please be advised, it will overwrite if any file exists. |
by |
- frequncy for each page (whether monthly, weekly, quarterly) etc. e.g. monthly makes each page of pdf to contain one months data. All values accepted by endpoints function are available + halfyear. default - quarters. |
inTrades |
- if given only these trades are graphed. portfolio is ignored. |
overFun |
- overFun is a overlay function that helps to overlay graph wiht any of the indicators or values. |
inpositions |
- positions table for every day |
Green uptriangle & Green downtriangle represents the Long Entry & Long Exits. Longs are drawn above the corresponding bar.
Red uptriangle & red downtriangle represents the short Entry & short Exits. Shorts are drawn below the corresponding bar.
overFun - is a function supplied by user. This is executed in the graph function environment, so all the variables available for the graph function can be used by overFun. However caution to be exercised not to stop the function abruptly
Siva Sunku
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.