Search found 9 matches
- 19 Apr 2012
- Forum: MultiCharts
- Topic: Stop Strategy for the day Once Max Loss is Hit
- Replies: 8
- Views: 3114
Re: Stop Strategy for the day Once Max Loss is Hit
Does the code above really stop trading only for the day? If I apply it to my intraday strategy based on 1min bars the strategy stops trading after some days once the DD level (same as in Performance Report) is hit and never restarts again... Anybody knows how to modify the code in a way that there ...
- 17 Jan 2012
- Forum: MultiCharts
- Topic: BarsSinceExit & Intrabar
- Replies: 1
- Views: 946
BarsSinceExit & Intrabar
Hi there, I have a strategy with profit taking limit order (based on 1min bars) and want to keep this order alive in the case the position was exited on chart but still open at broker (IB). If I want to do so only for the bar, the "chart order" was exited, would the following framework (short positi...
- 27 Jun 2011
- Forum: MultiCharts
- Topic: Order recalculation
- Replies: 1
- Views: 631
Order recalculation
Hi there, I would like to generate an OCO order if certain conditions are met and intend to leave this order unchanged until one side is filled. How can I prevent MC from recalculating this order new on every bar? It is somewhat unfavourable if 1 minute bars are used and the order prices don't chang...
- 08 Jul 2010
- Forum: MultiCharts
- Topic: Order and Position Tracker Coming in MultiCharts 6
- Replies: 30
- Views: 24467
Order and position tracker s a great feature! Thank you for that. One thing that might be implemented: If I have two (or more) different strategies running on the same symbol the positions match is false (because strategy position is unequal to broker position). Ideally there would be a possibility ...
- 09 Jun 2010
- Forum: User Contributed Studies and Indicator Library
- Topic: Time of yesterday's high
- Replies: 7
- Views: 3395
I think I have a solution now. You only have to define or calculate Length input dependent on data resolution. Input: Length(840); vars:timeofbarsago(0), counter(0); If Date<>Date[1] Then begin For counter = 1 to Length begin if H[counter] = HighD(1) then timeofbarsago = time[counter]; end; end; Pl...
- 08 Jun 2010
- Forum: User Contributed Studies and Indicator Library
- Topic: Time of yesterday's high
- Replies: 7
- Views: 3395
- 08 Jun 2010
- Forum: User Contributed Studies and Indicator Library
- Topic: Time of yesterday's high
- Replies: 7
- Views: 3395
- 08 Jun 2010
- Forum: User Contributed Studies and Indicator Library
- Topic: Time of yesterday's high
- Replies: 7
- Views: 3395
- 08 Jun 2010
- Forum: User Contributed Studies and Indicator Library
- Topic: Time of yesterday's high
- Replies: 7
- Views: 3395
Time of yesterday's high
Hi,
how could I get the time of yesterday's high for use in a strategy based on intraday data?
Thank you.
how could I get the time of yesterday's high for use in a strategy based on intraday data?
Thank you.