PeterC 0 Posted July 7, 2019 I’m trying to figure out the hot key script to bracket my order with a hot key using the 5 candle ATR on 1 min chart to set the price of the stop and the profit target relative to the position price. Ideally, I’d like to be able to hit one button to buy or sell at market and set my stop 1ATR below or above my entry price and a take profit order 1ATR above or below my entry price, depending on whether I’m long or short. I’m thinking something like this for a long position (opposite for short): ROUTE=STOP;Stoptype=Range;LowPrice=Avgcost-ATR(5);HighPrice=AvgCost+ATR(5);Share=Pos;TIF=DAY+;SELL=Send I don’t know how to reference the ATR figure when setting up the Prices (I’m making up the “ATR(5)” script in the example above). 1. Is there a script for referencing the ATR? I’m not sure if this is the best way of creating the hot key to do this, so any other suggestions would be appreciated 2. If referencing the ATR is not possible, is there a way to use the LOAD script to manually input the ATR value to be subtracted from the entry price for the stop and added to the entry for the profit target? 3. Can I do the purchase and range order all with one hot key or do they need to be different keys? 4. Also, is there a comprehensive list of all scripts that can be used in DAS with their meaning? It’s odd that such a sophisticated program doesn’t seem to have a comprehensive manual for its use. Thank you very much. Peter C. Share this post Link to post Share on other sites