Adam Bauer 0 Posted September 21, 2021 (edited) Hello community. I have trying to All kinds of hot keys that take buying power + R ratio into a fixed risk dollar amount but continue to get this error message "ERROR: Can't get valid price!" The scripts I am using are from this you tube video. https://www.youtube.com/watch?v=CPSLj7W-KQA I have even tried Kyle's excel file and with those I get the same error. These scripts are going into buttons into my montage which I have created and I have also tried click to trade via charts which I have also enabled. I am using the 3 month BBT Das trader pro trial Version - 5.6.4.13 Build Time - Jul 1 2021 12:23.01 Any assistance would be most appreciated. Thank you for your time, Adam Edited September 21, 2021 by Adam Bauer Share this post Link to post Share on other sites
whitley77 0 Posted October 16, 2022 Same issue - did anyone resolve? Share this post Link to post Share on other sites
Dave WONG 0 Posted January 27, 2023 Hi, I get this issue from time to time, have you figured out why? Share this post Link to post Share on other sites
markadam 0 Posted January 30, 2023 Hey Adam, I have the same problem. Please let me know if you found a solution! Thanks, Mark Share this post Link to post Share on other sites
Dave WONG 0 Posted February 1, 2023 I solved the problem by removing "ROUTE=SMRTL", see if it helps. Share this post Link to post Share on other sites
HakunaMatata 1 Posted February 13, 2023 Hi all, Was this every resolved? I can't get this error to go away. I removed ROUTE=SMRTL and it didn't help. Here is my full script. Thanks in advance for your help: CXL ALLSYMB;StopPrice=Price+0;DefShare=BP*0.97;Price=Price-Bid+0.00;SShare=25/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price=Bid-0.05;TIF=DAY+;SELL=Send;DefShare=200;Price=StopPrice-Bid*2;Price=Bid-Price;TriggerOrder=RT:STOP STOPTYPE:RANGE LowPrice:Price HighPrice:StopPrice ACT:BUY QTY:POS TIF:DAY+ Shpend Share this post Link to post Share on other sites
HakunaMatata 1 Posted February 13, 2023 I deleted and re-added the button and it works for now....geez that was annoying.... Share this post Link to post Share on other sites
Tradesman 0 Posted April 3, 2023 Hi, I cannot get this to work either, I get following error: The script is: CXL ALLSYMB;StopPrice=Price+0;DefShare=BP*0.925;Price=Price-Bid+0.00;SShare=20/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=Bid-0.02;TIF=DAY+;SELL=Send;DefShare=200;Price=StopPrice-Bid*2;Price=Bid-Price;TriggerOrder=RT:STOP STOPTYPE:RANGE LowPrice:Price HighPrice:StopPrice ACT:BUY QTY:POS TIF:DAY+ To short risking $20 for $40 reward using Shift+F2 I have tried the following routes: LIMIT, SMRTL & TESTSL which I found in the "Route Status" window of DAS: https://dastrader.com/docs/how-do-i-add-new-routes-to-my-montage-window/ Help appreciated. Share this post Link to post Share on other sites
onlyjava 12 Posted April 4, 2023 (edited) ERROR: Can't get valid price For me, this usually happens when a hotkey or hot button is activated when the MONTAGE window has no focus. You can see if the MONTAGE window has focus - it will have a green border. Solution: click on the MONTAGE window to gain focus (it's border green) before a hotkey or hot button is activated. See the image to create a hotkey to select the montage window (instead of clicking it) Edited September 5 by onlyjava Share this post Link to post Share on other sites