junkone
11-10-2008, 03:46 AM
i am still trying to understand teh connection between strategy and chart trading.
if i create posisitons from the chart trader, can i manage the trade from the strategies.
i was doing simple things like
protectedoverridevoid OnBarUpdate()
{
Print("Open PnL: " + Position.GetProfitLoss(Close[0], PerformanceUnit.Points));
and there was Open PnL:0 printed on the alerts even though the chart window was saying 3 pips profit.
appreciate any help here.
if i create posisitons from the chart trader, can i manage the trade from the strategies.
i was doing simple things like
protectedoverridevoid OnBarUpdate()
{
Print("Open PnL: " + Position.GetProfitLoss(Close[0], PerformanceUnit.Points));
and there was Open PnL:0 printed on the alerts even though the chart window was saying 3 pips profit.
appreciate any help here.