Hi all,

I have two questions.
1) Is it possible to place a mark on the plot for when a pending trade was placed? This mark would then be joined to when the trade was entered. Therefore 3 marks and 2 lines on the plot per trade. How would one go about this.

2) I am not getting the following block (from the manual) to operate on a multisymbol strategy.
Code:
char name[40]; // string of maximal 39 charactersstrcpy(name,Asset);
strcat(name,":");
strcat(name,Algo);
var equity = EquityShort+EquityLong;
if(equity != 0) plot(name,equity,NEW|AVG,BLUE);


At present, it only plots price, equity graph and equity line for the last symbol in the asset loop.
Could someone please clarify how plot collects data so I can work out where this needs to be. Where should this block be implemented and what is the required program flow to allow said implementation.

At present my code runs like so

Code:
run()
->Asset loop {
->LookForTrades() ->set up price/indicator series, check entry conditions, enter trades
... }
->plot code block as per above
run()
...


Cheers,
BobbyT

Edit: I would like to extend question 2 to multi-timeframe multi-symbol strategies. That is, I would like to plot a chart for each asset-timeframe combination

Last edited by BobbyT; 07/16/17 21:22.