Jump to content

We have moved to Discord. Please click here to join us in the Trading Terminal Discord server.



These forums are read-only.

Sign in to follow this  
KyleK29

September 20th, 2021 - Technology Class - Technology / DAS Trader Pro Open Q/A

Recommended Posts

KyleK29

Technology Class
September 20th, 2021

Topic of the Week
Technology / DAS Trader Pro : Open QA

Class will review and answer submitted questions on the topic of DAS Trader Pro.
 

Question of the Week
None
 


Shared Clipboard
Any of the scripts or pasteable items we make during class will be pasted in the code box below for each copy/pasting by you.

WEBINARS link: https://forums.bearbulltraders.com/forum/97-technology-webinars/
TECHNOLOGY PAGE: https://bearbulltraders.com/technology-class/

------------

Add Alerts from Chart:

* Must have the Alerts & Trigger window open/minimized.
* If this is a hotbutton, you need to name a chart (Right-Click the title area -> Name: ...) as CHART1A for the hotbutton to work from the montage. If using as a hotkey script, you need to click the chart and fire the hotkey.

FocusWindow CHART1A; 
AlertName=TestGTE; AlertType=LastPrice; 
AlertOperator=>=; PlaySound=Yes; AutoDelete=Yes; Beep=Yes; 
Speak=Yes; PopupWindow=No; AddAlert;


FocusWindow CHART1A; 
AlertName=TestGTE; AlertType=LastPrice; 
AlertOperator=<=; PlaySound=Yes; AutoDelete=Yes; Beep=Yes; 
Speak=Yes; PopupWindow=No; AddAlert

------------
BREAK HIGH OF DAY HOTKEY SCRIPTS:

As always, use in simulator. Not widely tested. Know what you're doing. This is for specific high-of-day and low-of-day break scenarios.]

This should work with any broker.

Usage:
1) Double-click where you want your STOP to be if the HOD entry is triggered.
2) Fire hotkey script.
3) It'll calculate your share total based on the HoD price (for the ticker) + 0.01 value and your dbl-clicked stop location using $40 risk as set.
4) It sets a pending STOP order to OPEN a position on the LONG side if the HoD + 0.01 value is hit. Sets a TriggerOrder in the system to create a STOP exit order upon triggering.
    a) If the above pending order is cancelled without fulfillment, the Trigger Order should be cancelled out as well.
    b) If the above pending order is triggered (price => hod+0.01), the Trigger Order will fire and open a STOP exit based on the risk calculations for $40.


LONG SIDE - HIGH OF DAY BREAK:

StopPrice=Price;DefShare=BP*0.97;Price=HI+0.01-Price;SShare=40/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare; Price=StopPrice; Route=STOP;StopType=Market;StopPrice=HI+0.01;TIF:DAY; Buy=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.3 ACT:SELL STOPPRICE:Price QTY:Pos TIF:DAY; DefShare=20;


SHORT SIDE - LOW OF DAY BREAK:

StopPrice=Price;DefShare=BP*0.97;Price=Price-LOW+0.01;SShare=40/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;Price=StopPrice;Route=STOP;StopType=Market;StopPrice=LOW-0.01;TIF:DAY; Sell=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.3 ACT:BUY STOPPRICE:Price QTY:Pos TIF:DAY; DefShare=20;



 

 

 

 

 

 

 

 

 

 

 

Relevant Links:
- Dynamic Hotkeys Thread: DAS - Dynamically Calculate Shares on %Risk or $Risk - Hot Key + Configuration, Updated 9/10/19, v2.1 - DAS Trader Pro Tips and Tricks - Bear Bull Traders Forums

Edited by KyleK29

---------------------------------------------------------
Profile / Project Pages (Dynamic Hotkeys, StreamDeck Files, and other contributions are located here)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

[[Template core/front/global/mobileNavigation is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.