Search found 8 matches
- 04 Jan 2013
- Forum: MultiCharts
- Topic: how to handle this situation
- Replies: 16
- Views: 2698
Re: how to handle this situation
i wondered if i could use "time" to filter my condition, for example, after covered my long position, if low<dnline and the time of "low<dnline" newest than the time of "high>upline" then short.
- 04 Jan 2013
- Forum: MultiCharts
- Topic: how to handle this situation
- Replies: 16
- Views: 2698
Re: how to handle this situation
i want to cover the long position first, then short, as if i cover long and sell short at the same time, it will use double margin in china market. secondly, i'll add some filter in my condition, so i think use sellshort is not a good choice.
- 04 Jan 2013
- Forum: MultiCharts
- Topic: how to handle this situation
- Replies: 16
- Views: 2698
Re: how to handle this situation
please refer the attachment. from the pic, you can see there is red bar, which high>upline and low<dnline, and before that bar, i have a long position, so when come to the red bar, i should short right after covered my long position. The signal that "buy & cover" is not needed. i think maybe "Time" ...
- 04 Jan 2013
- Forum: MultiCharts
- Topic: how to handle this situation
- Replies: 16
- Views: 2698
Re: how to handle this situation
Code: Select all
traded.this.bar <> currentbar
- 03 Jan 2013
- Forum: MultiCharts
- Topic: how to handle this situation
- Replies: 16
- Views: 2698
Re: how to handle this situation
the pic, for you reference
- 03 Jan 2013
- Forum: MultiCharts
- Topic: how to handle this situation
- Replies: 16
- Views: 2698
Re: how to handle this situation
the problem is still apeared..., could you please kindly help to check my code, thanks! [IntrabarOrderGeneration = True] Inputs: length(0.5); vars: myrange(0),upline(0),dnline(0),offset(0),flag(0),RiskPercent(0.15),TotalEquity(0.0), Lots(0),MarginRatio(0.15); if currentbar>=1 then begin value1=HighD...
- 03 Jan 2013
- Forum: MultiCharts
- Topic: how to handle this situation
- Replies: 16
- Views: 2698
Re: how to handle this situation
thank you so much!
- 03 Jan 2013
- Forum: MultiCharts
- Topic: how to handle this situation
- Replies: 16
- Views: 2698
how to handle this situation
hi u guys, my trading conditons are : high>upline then buy at market, low<dnline then sellshort at market, but i found if there is a bar which high>upline and low<dnline, and my marketposition=-1 , then after i covered my short position, there will be a short signal, which is not my wanted. My code ...