These are drawing objects and will do what you have in mind. Can anyone point me in the right direction, whether how to just have the limit order exist without getting cancelled, or with the indicator?įor drawing lines you might want to look into trend lines or horizontal lines. The problem is that these lines are sloped, rather than horizontal. If we have a "strong" down candle, draw line (place limit order) at the low of the bar prior to the "strong" candle.Īs a side note, I've noticed that when I try to use "is_big_bar" in the if statement that plots the lines, it reacts differently to when I place the formula. If we have a "strong" up candle, draw line (place limit order) at the high of the bar prior to the "strong" candle. To remedy this, I'm attempting to create an indicator that plots a horizontal line using the following logic: I've been searching around for a way to deal with the fact that limit orders are cancelled at the end of the "next" bar. I'm trying to develop a strategy that places a limit order when a strong candle is formed at the high/low of the bar prior to the strong candle. New to Tradestation/ EasyLanguage, it's only bee a week or so.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |