Jump to content

peterB

Lifetime Members
  • Content Count

    1,281
  • Joined

  • Last visited

  • Days Won

    95

Everything posted by peterB

  1. Preferably yes, because the old syntax is confusing while the new syntax is easier to understand with the custom variables. watch out for the quotes, they get copied wrong very often so make sure you rewrite them in your DAS
  2. you enabled the possibility to use advanced script syntax but your syntax is the old syntax not the advanced syntax as explained here. i bet you get plenty of syntax errors in your log file.
  3. any reason why you do it this way and do not do it this way instead?
  4. actually we can do that in DAS since version 5.7.9.7. see here regarding tools i think tradingview has camarillas too and you can connect multiple brokers with that but the hotkeys are non existent there
  5. as you anticipated right, there is more to discover. see this and especially this good luck!
  6. We can now process orders anytime, just like if we did it manually. All the details here.
  7. This is now possible with the latest version of DAStrader https://open.substack.com/pub/traderpeter/p/why-do-the-parabolic-reversals-work?r=1wujo4&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true
  8. which version of dastrader you have? is your $tprice populated with last or not? see the log file in the log folder for any errors also note that you need to try it when the market is open (including pre and post market) otherwise LAST will be 0
  9. in the last beta 5.7.9.3 there is a function IsOptSymbol(symbol) but i am not sure how it is supposed to be used as i do not trade options with DAStrader
  10. well it depends on what and how you do. the function can be called only when your chart window is in focus so if you do it as a hot button you need to change focus in the hot button first with FocusWindow MYDAILY; for that your chart window needs to be named first as by default the chart windows do not have names by the way from the latest beta 5.7.9.7 we can use colors for the lines as well DrawHorzLineWithPrice($YOUR_DESIRED_PRICE,color(190,254,152));
  11. Long change $target=3*$pricetostop+Ask; to $targettmp=$pricetostop*1.25;$target=$targettmp+Ask; Short change $target=Bid-$pricetostop-$pricetostop-$pricetostop; to $targettmp=$pricetostop*1.25;$target=Bid-$targettmp; i might update the article with this more elegant solution so you can just change 1.25 to whatever number you need.
  12. see here https://open.substack.com/pub/traderpeter/p/das-trader-advanced-hotkeys-part?r=1wujo4&utm_campaign=post&utm_medium=web
  13. yes if your stop is 10 cents and the spread is 7 cents you are down 0.7R right when you open the position.
  14. you can easily check if your risk and position is correct: divide your risk 40 with (avg price - stop loss price) or divide the position with the (avg price - stop loss price)
  15. it is 40 risk when your order gets triggered and you always can get some slippage so 40-45 is normal depending on the liquidity of the symbol you trade and its spread
  16. Your script is not correct, check this out https://traderpeter.substack.com/s/dastrader-hotkeys to see how it is done these days. Stop orders can be placed even in pre-market, but they won't be executed until market open
  17. flip is just a double position stop but sometimes you may be not filled because of margin requirements so be aware of that
  18. SYMBOL is a symbol it does not matter what it is for the order preparation on montage so i think there is no way to determine it (now) documentation is very vague in the application itself in the hotkeys section. better documentation with some explanation and examples is here https://traderpeter.substack.com/s/dastrader-hotkeys
  19. that would require more complicated hotkeys containing conditional execution (or placing a set of orders) which is possible but it comes with some challenges. I might be covering it in one of my hotkeys posts here https://traderpeter.substack.com/s/dastrader-hotkeys feel free to ask there any of your requirements I can use for the use case
  20. if your account is in different currency then the conversion rate against USD applies. you can convert your account to USD to be the same for commissions it is actually a default setting of DAS - they guess the commissions by default with some value - you contact das support to change your commission pricing per share as you like to have more precise results but it will never be 100% beware of other dastrader nasty "features"https://traderpeter.substack.com/p/trading-platform-choice
  21. I do not know TOS much but for DAS you can check here if you see its features are useful for you https://traderpeter.substack.com/p/trading-platform-choice
  22. you can use the new syntax for orders but specifically this line drawing has been fixed in 5.7.9.3 only
  23. $PRICE+($TARGETR*2); this is not possible in DASTrader as it dooes not know the mathematical logics and brackets you need to do $PRICE+$TARGETR+$TARGETR instead see the log for the errors you get. there will be an error about route not being "LIMIT" etc. overall you should switch to the new syntax and forget the old one as the calculations done in the old syntax are now useless and it will be easier for you to understand what is going on rather than studying why the switches between SShare and Share are there
  24. https://open.substack.com/pub/traderpeter/p/das-trader-advanced-hotkeys-part-777?r=1wujo4&utm_campaign=post&utm_medium=web
×
×
  • Create New...

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.