I have a couple two part questions:
When the startegy has a dynamic SetStopLoss( ,CalcMode.Price, ,"simulated = false) in the OnBarUpdate Method....
1A) Is the SetStopLoss cancelled at the end of a bar (if not re-submitted by the strategy) like Entry and Exit Methods?
&&
1B) Is it live & working at the broker until the market action triggers it regardless of whether or not the strategy was (voluntarily or involuntarily) terminated? (Assuming "Cancel strategy orders on strategy termination" isn't checked under the Strategies tab.)
I have created a Dataseries in my strategy that calculates and sets a data value on a per entry signal basis....
2A) If data is set in real time is it automatically saved, or does the data need to be generated on historical data each time the strategy is terminated and restarted?
&&
2B) If a....double mydouble = (EMA(myDataseries,5))[0].... and a data value is only created and Set on a per entry signal basis (as opposed to every bar) will the EMA of myDataseries select the last 5 values I Set for the prior 5 entry signals, or will it use the last 5 bars values like an EMA of the Close? I am looking for the last 5 values I Set, not the last 5 bars.
Thank you for your assistance
paradise

Comment