questions about limitations and shortcomings of easylanguage strategies
i understand easylanguage automated strategies are very elementary and limited, but i might be wrong. it would be great if advanced easylanguage programmers could help me answer some questions i have, that's why i start by calling the people of @MultiCharts to this thread.
i am under the impression it is not possible for easylanguage automated strategies to manage multiple positions for the same instrument in the same direction separately, is that right? could an easylanguage automated strategy open several positions in the same direction at different points in time and manage each one independently of the others? can an elas (acronym i'll use in place of easylanguage automated strategy), calculate each position's profit or loss and its entry price independently of the others? i understand that at least for tradestation, when trading manually if you open several positions in the same direction, the positions will always be closed in the same order they were opened in, is there a way to make elas that overcome this limitation? also, could it be possible for an elas to know how many positions it has opened that have been filled and the entry prices for each one? (thinking that the strategy could open let's say up to 3 positions in the same direction at different points in time as long as the trend hasn't been reversed, can the strategy know if it is holding 0, 1, 2 or 3 contracts and their respective entries?)
is it possible for someone to create their own version of a trailing stop? i would like to have a trailing stop that didn't chase price so tightly. this strategy would operate after the long entry order has been sent and filled, and it would set a stop loss order 8 ticks below my entry price. then, if price moves in my favor and is 10 or more ticks above my entry price, the stop loss order would be moved to my entry price so that it becomes a break even stop. if price continues to move in my favor and now is 20 or more ticks above my entry price, the break even order would be moved to my entry price + 10 ticks and stay there. as far as i know, there's no way to put this strategy into easylanguage code, is there?
also, is it possible to have a strategy that closed all positions exactly at a specified time of the day, every day? but most importantly, having this closing time order execute every day even when executing this strategy on a chart with bars that won't necessarily coincide with the exact time to close everything (range, kase or large minute bars)? let's say i want the strategy to close all positions at exactly 14:40 edt even if i'm using a range / kase chart.