|
QuantShare
2020-08-03 18:03:17
0
|
|
Hi,
My answers below.
buy = 1;
Buy today at Close.
SetSimTiming(_Buy, _Close, -1);
Sell tomorrow, If High is Higher Than BuyPrice * 1.02 OR at Close (i.e Close of Next day of Buy)
SetSimStop(_StopProfit, _Percent, 2, 0);
SetSimStop(_StopNBar, _Point, 0, 0);
SetSimTiming(_Sell, _Close, -1);
Further I need only one position each day having 100 Shares only.
SetSimPosSize(100, _Shares);
Also, select "Settings" in the "Create a trading system" form, click on "Capital" then enable "Activate stop immediately".
|
|