DAS Hotkeys01/26/2026

DAS Trader Pro – A universal entry hotkey with static risk

Imagine being able to handle trade entries without worrying about whether you’re going long or short, trading during regular hours or extended sessions, or even the exact price of the stock. All you do is define your risk and hit the entry hotkey. For brokers like Guardian Trading, who support the LimitP stop route, that’s exactly what my single-hotkey solution delivers, and that is the reason why I call the hotkey universal.

What this hotkey does

Despite being just one hotkey, there is plenty of actions going on. It

  • Opens a long or short position depending on where you click, using that point as the stop level

  • Automatically rounds prices for stocks trading under $1

  • Identifies whether the market is in regular or extended hours and applies the appropriate stop order type

  • Calculates position size so that risk remains consistent on every trade

Why use it?

Everything is handled with a single button or hotkey. You simply click to define the stop and press the same key every time. This creates a repeatable workflow and greatly reduces the chance of errors.

The hotkey

It requires advanced hotkeys enabled, so make sure to read the previous article on how to prepare your DAS Trader Pro first.

$Risk=20;
$Montage.CXL ALLSYMB;
$mystop=$Montage.Price;

// Rounding of stop
if($mystop<1)
{
$mystop=Round($mystop,4);
}
else
{
$mystop=Round($mystop,2);
}

// Determine long or short
if($mystop<$Montage.LAST)
{
$EntryPrice=Round($Montage.Ask,2);
$Offset=$mystop*0.98;
}
else
{
$EntryPrice=Round($Montage.Bid,2);
$Offset=$mystop*1.02;
}

// Rounding of Offset Price
if($Offset<1)
{
$Offset=Round($Offset,4);
}
else
{
$Offset=Round($Offset,2);
}

// Rounding of entry Price
if($EntryPrice<1)
{
$EntryPrice=Round($EntryPrice,4);
}
else
{
$EntryPrice=Round($EntryPrice,2);
}

// Calculate shares and fill in the montage
$Pricetostop=ABS($EntryPrice-$mystop);
$Amount=$risk/$Pricetostop;
$Montage.share=$Amount;
$Montage.ROUTE="LIMIT";
$Montage.TIF="DAY+";
$Montage.Price=$EntryPrice;

// Use LimitP stop in 4:00 AM - 9:30 AM and 4:00 PM-8:00 PM
$STOPTYPE="LimitP";
if(getsecond()>34200)
{
if(getsecond()<57600)
{
// Standard stop type during normal hours. Change as necessary
$STOPTYPE="MARKET";
}
}

// Finally, place the order
if($mystop<$Montage.LAST)
{
$Montage.Buy;
$Montage.TriggerOrder=RT:STOP STOPTYPE:$STOPTYPE PX:$Offset ACT:SELL STOPPrice:$mystop QTY:Pos TIF:DAY+;
}
else
{
$Montage.Sell;
$Montage.TriggerOrder=RT:STOP STOPTYPE:$STOPTYPE PX:$Offset ACT:BUY STOPPrice:$mystop QTY:Pos TIF:DAY+;
}

Limitations

The hotkey does not submit a target OCO order because LimitP does not support this functionality. It could be modified to place a target during regular trading hours, but a more consistent solution for both regular and extended sessions would be preferable. One such approach would be using a price alert as the profit-taking action. I’ll go into more detail on that technique in a future article.

For even more advanced scripting, you can visit my Substack - Peter's Substack where I elaborate on the newest features, ideas and do custom solutions for specific needs.

Author: PeterB

Disclosure Statement  1. Hotkey scripts should always be thoroughly tested in a paper trading environment prior to any live deployment. Guardian Trading assumes no responsibility for errors, malfunctions, or financial losses arising from the use, misuse, or modification of custom hotkey configurations. Traders are solely responsible for the creation, testing, and implementation of their own scripts.This guide is provided for informational and educational purposes only and does not constitute trading advice or an endorsement of any specific configuration. The examples herein are illustrative in nature and should not be copied, replicated, or relied upon without independent verification and testing. Use of this material constitutes acknowledgment and acceptance of these terms.

2. No information provided by Velocity Clearing, LLC (“Velocity” or the “Firm”), directly or indirectly, should be considered a recommendation or solicitation to adopt any particular trading or investment strategy or to invest in, or liquidate, a particular security or type of security. Information provided by Velocity on its Twitter, Facebook or Blog pages is for informational and educational purposes only and is not intended as a recommendation of any particular security, transaction or strategy. Commentary and opinions expressed are those of the author/speaker and not necessarily those of the Firm. Velocity does not guarantee the accuracy of, or endorse, the statements of any third party, including guest speakers or authors of commentary or news articles. All information regarding the likelihood of potential future investment outcomes are hypothetical. Future results are never guaranteed. Any examples that discuss potential trading profits or losses may not take into account trading commissions or fees, which means that potential profits could be lower and potential losses could be greater than illustrated in any example. Users are solely responsible for making their own, independent decisions about whether to use any of the research, tools or information provided, and for determining their own trading and investment strategies.

Return to Site