Update:
I have the following (pseudo) code which is now plotting the pending price of each trade as is it taken:

Code:
Pd = 0.0;
if(entryConditions)
{
Entry = some_price;
ThisTrade = enterLong();
Pd = Entry;
}
plot(signal, "signal", 0, RED);
if(Pd != 0.0) plotGraph("pd price", 0, Pd, CROSS, DARKGREEN);



I originally wanted to use ThisTrade as the control statement however it 'always' evaluates to true after the first trade is placed. If I'm thinking right, this is because ThisTrade stores the last taken trade, regardless of what bar it is on. Is there an 'official' way to control for the plotGraph() call so it only plots a symbol when a trade is placed.

Also, I am no closer to joining the pending price and the opening price of individual trades. It obviously can be done as open/close prices are linked in the simulation charts but how...I have no idea. I don't see anything in the manual about it (other than LINE but I'm failing at implementing that) and I can't find any demo code demonstrating it frown

Cheers,
BobbyT

PS Lets leave the 'plot per asset:algo' issue for another time. I figure it is likely best to get a function set familiarised before getting too funky laugh

EDIT: english

Last edited by BobbyT; 07/18/17 03:23.