This is a two part question:
I have 3 variables that I want to use to make buy limit orders. My approach to this has been to try and find the closest support point to the current market price and create a limit buy order at that variable support price.
Question 1:
I have been trying to create code that will tell me what the closest support point is under the current price and put a limit buy order at that price. If that order gets filled then find the next variable for a buy price, etc. Is this the best way to accomplish this? Is there some sort of function that will tell me what I need to know?
Question 2:
Lets say one of the variables is 1142.58. And I do a limit at that price in the ES futures which increments in .25. Will the order be 1142.50 or 1142.75? Also how can you make your order round up to the nearest tick.
TJ, before you point me to the manual or the book on amazon I just want you to know I have read both and still need help.
Thanks
EasyLanguage Guru's
-
- Posts: 261
- Joined: 28 Feb 2008
- Has thanked: 2 times
- Been thanked: 1 time
- TJ
- Posts: 7752
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2228 times
Re: EasyLanguage Guru's
...
TJ, before you point me to the manual or the book on amazon I just want you to know I have read both and still need help.
Thanks
no problem... I am not a programmer, I know how it feels when the computer just doesn't want to understand human language.
When I suggest a book or a manual,
not because I think the person is lazy, that he asked the question before looking it up himself.
But rather, in many scenario, there are no better words than the concise words described by the manual.
-
- Posts: 261
- Joined: 28 Feb 2008
- Has thanked: 2 times
- Been thanked: 1 time
I changed my mind a bit. You probably can write some code to sometimes get the top and bottom of some waves however it would fail on many like ones that rush out to a capit to a wall bounce. To add to this, to assume the support resistance will succeed is not wise since other larger waves or other factors in the market need to be considered.
Last edited by bowlesj3 on 22 Jan 2010, edited 1 time in total.
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
It sounds like the main problem here is not that you're unsure of what keyword to use but you're unsure how you want to actually do it. Finding support and resistance levels is one of those tasks in technical analysis that can be done hundreds (if not more) of different ways. You have to first decide which specific techniques you're referring to, and then you can from there focus on how to code that in Easylanguage.