| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Market Order I need you help. Is there in easylangue some kind of function "buy at market as soon as price touches the line or value of previuose close"? I need to fill this order imediatly not on NEXT bar, is it possible? Thank you! | ||
| |
|
| | #2 | ||
![]() | Re: Market Order depending on the system you use. If say you are trading off hourly charts you need to have the information/data that makes up the hourly chart.... that is the tick data, or minute data. Otherwise the computer does not know the sequence of trades that occurred. example; The bar you trade on has a high of 102, low 99 - your system tells you to sell at 100, stop 101 within this bar. did the order trigger at 100, then stop you out at 101, OR did the high occur before the trade triggered. A computer will not know unless you provide it with the data. I know Multicharts tries this, as do some other programs, some making a few assumptions based on the open and close of the bar....but ultimately you may have to accept most things become a fudge unless you account for every tick.... I hope this helps at least understand the issue. | ||
| |
|
| | #3 | ||
![]() | Re: Market Order "A computer will not know unless you provide it with the data." But if i will wrote that i want to sell at bar low 99, thet it's possible? I know that in EL are order types "next bar at open", "next bar at close", "this bar at close" and etc. But i cannot find order type which can trigger order imediataly if my target price is recahed. Let say first bar has 100 high and 98 low, i want to sell if second bar reaches low of first bar and sell it immediatly not on close of second bar. How can i achieve this? | ||
| |
|
| | #4 | ||
![]() | Re: Market Order I am sure there are plenty of examples around that might show this in these and other forums..... it should be possible, if not then it could be argued the systems are not lfexible enough.... I used excel to backtest my ideas because of this - slower but easier to use and completely transparent. maybe one day I will learn more. | ||
| |
|
| The Following User Says Thank You to DugDug For This Useful Post: | ||
mklevas (02-03-2010) | ||
| | #5 | ||
![]() | Re: Market Order [IntrabarOrderGeneration = True] in a strategy and no conflicting barstatus statements then buy next bar market; means immediately (next tick) (for intrabar a tick is a trade) | ||
| |
|
| | #6 | ||
![]() | Re: Market Order please correct me if I am wrong here, as I dont have a lot of programming experience your suggestion only works IF you have intra bar data? ie; if using hourly charts, with OHLC only for the hourly chart, you need to be able to look inside the bar.... ie; the data must be in the form of tick, or say minute data. If my data is say an ASCI imported file, it might not have this Is this true? ....thanks | ||
| |
|
| | #7 | ||
![]() | Re: Market Order buy next bar open; sell next bar open; you can simulate somewhat with buy next bar somenumber limit; but if using limits and stops then without intrabar data you will get some erroneous trades | ||
| |
|
| The Following User Says Thank You to statsign For This Useful Post: | ||
DugDug (02-03-2010) | ||
| | #8 | ||
![]() | Re: Market Order and I understand that on time bars you cant do anything, becauase bar must be closed but I was thinking ...if I use range bars and range bars close price can be predicted ...I was thinking how can I send stop order to broker at bar close price before bar is closed this way I maybe I can get better fill because broker alredy have my stop ( market ) order | ||
| |
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Order Flow & Market Profile Webinar | electroniclocal | Market Profile | 4 | 01-18-2010 02:30 PM |
| Stop Order or Logical Order ? | abam | Trading and the Markets | 4 | 04-06-2009 05:19 AM |
| Order Imbalances?? | MRW | Stock Trading Laboratory | 0 | 05-29-2008 08:29 PM |
| [Essay] Market Depth & Order Flow | hanz | Trading Articles | 1 | 10-13-2007 08:14 PM |
| Order spoofing | notouch | Market Analysis | 12 | 03-20-2007 09:07 AM |