Search found 3 matches

by Stanley
30 Aug 2018
Forum: MultiCharts
Topic: Stop Strategy for the day the biggest loss is Hit
Replies: 6
Views: 2306

Re: Stop Strategy for the day the biggest loss is Hit

[IntrabarOrderGeneration = false] Input:win(900),loss(650),re_pt(50),re_ct(50), maxloss(-2000); variables: stopentry(4), stoptrading(false),trade_T(true);; .. . . . condition8=EntriesToday(date) < stopentry; if d<>d[1] then trade_T=true; stoptrading = false; if netprofit + i_ClosedEquity + openposit...
by Stanley
30 Aug 2018
Forum: MultiCharts
Topic: Stop Strategy for the day the biggest loss is Hit
Replies: 6
Views: 2306

Re: Stop Strategy for the day the biggest loss is Hit

reset StopTrading to false on every new trading day...

----------------------------------
is there any way can stopping the trade when the biggest loss is Hit , but no need to reset the stoptrading to false?
by Stanley
13 Aug 2018
Forum: MultiCharts
Topic: Stop Strategy for the day the biggest loss is Hit
Replies: 6
Views: 2306

Stop Strategy for the day the biggest loss is Hit

if d<> d[1] then begin netprofit = 0; if netprofit <= -1000 and marketprosition <> 0 then begin sell 1 contract next bar at market; buytocover 1 contract next at market; stopcontract; setexitclose; end; end; Am I right? the code seems that it doesn't work... My strategy keep trading a lot times even...

Go to advanced search