| Automated Trading Black box systems, strategy automation, algorithmic trading, etc... |
![]() | | Tweet | |
| | #1 | ||
![]() | Nice little community you guys have here ![]() Can someone help me out with this problem? I can't figure out how to extend the order to more than one candle...Is it possible ? By default Strategy orders look something like: IF blah then BUY THIS CANDLE MARKET; or IF blah then BUY 1 CONTRACT AT blah NEXT BAR LIMIT IF that next candle doesn''t meet my criteria the order gets canceled. I would like my order to look something like this instead: IF "blah" then BUY 1 CONTRACT AT blah NEXT 3 BAR LIMIT So basically I would like my limit order to stay active for next 3 bars ( or whatever amount of bars I specify) unless filled. Is it possible ? How can I achieve this? THank you. | ||
| |
|
| | #2 | ||
![]() | Re: EasyLanguage - Extending the Order to More Thatn One Bar condition = blah; if condition then buy... if condition[1] then buy... if condition[2] then buy... | ||
| |
|
| | #3 | ||
![]() | Re: EasyLanguage - Extending the Order to More Thatn One Bar If Condition1 then begin If Condition11 then Buy this bar at close | ||
| |
|
| | #4 | ||
![]() | Kinda sucks but I guess it makes sense. Thanks guys. | ||
| |
|
| | #5 | ||
![]() | Re: EasyLanguage - Extending the Order to More Thatn One Bar vars: counter(10), num_bars(5); condition = whatever; if condition then counter = 0; Counter = Counter + 1; If counter <= num_bars then buy next bar a low limit; | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stop Order or Logical Order ? | abam | Trading and the Markets | 4 | 04-06-2009 04:19 AM |
| Order Imbalances?? | MRW | Stock Trading Laboratory | 0 | 05-29-2008 07:29 PM |
| Reading An Order | anupdodia | Stock Trading Laboratory | 3 | 04-02-2008 08:05 AM |
| Order spoofing | notouch | Market Analysis | 12 | 03-20-2007 08:07 AM |