Jump to content

peterB

Lifetime Members
  • Content Count

    1,307
  • Joined

  • Last visited

  • Days Won

    99

Everything posted by peterB

  1. 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
  2. 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));
  3. 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.
  4. see here https://open.substack.com/pub/traderpeter/p/das-trader-advanced-hotkeys-part?r=1wujo4&utm_campaign=post&utm_medium=web
  5. yes if your stop is 10 cents and the spread is 7 cents you are down 0.7R right when you open the position.
  6. 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)
  7. 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
  8. 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
  9. flip is just a double position stop but sometimes you may be not filled because of margin requirements so be aware of that
  10. 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
  11. 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
  12. 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
  13. 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
  14. you can use the new syntax for orders but specifically this line drawing has been fixed in 5.7.9.3 only
  15. $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
  16. https://open.substack.com/pub/traderpeter/p/das-trader-advanced-hotkeys-part-777?r=1wujo4&utm_campaign=post&utm_medium=web
  17. solution of 2024 here https://open.substack.com/pub/traderpeter/p/das-trader-advanced-hotkeys-part-777?r=1wujo4&utm_campaign=post&utm_medium=web
  18. https://traderpeter.substack.com/p/das-trader-advanced-hotkeys-part?r=1wujo4 check here if you want to learn how to do it technically but i must warn you that SMARTM route is probably not what you think it is - as described here https://open.substack.com/pub/traderpeter/p/trading-platform-choice?r=1wujo4&utm_campaign=post&utm_medium=web
  19. there is one workaround which is very dodgy - you can place a limit order of one share on the desired stop then attach a trigger order to that one that would exit the whole position the 2nd option shall be possible in the new dastrader version which is to be released. (currenty the functionality crashes the whole app) i will be covering this option here https://traderpeter.substack.com/p/das-advanced-hotkeys-part-4 and the next articles it will have its limits still though
  20. yes i talk to DAS developers and do some testing and proposals to them what you describe is easy to acomplish - you just set the variable one time before any trade to set your BP variable then calculate the 1/3rd from there anyway do not focus on the BP much as it can be misleading as you can have other margin requirements not allowing you to take the position. i do not see any logic in it. if you know your BP is 6 times your initial equity then just count the risk from 1/3rd of the initial equity as shown above regarding the other functionality i do not know i am not using shift or arrow keys to navigate and i am not going back to old syntax anyway
  21. that is not possible and hardly achievable too as ATR is not a static indicator having one formula so you would need to calculate atr(xy) based on the xy custom settings causing ton of problems for the programmers to handle it. so do not expect that to happen anytime soon or ever
  22. then you do exactly what is written there man
  23. it is explained here https://traderpeter.substack.com/p/das-trader-advanced-hotkeys-part?r=1wujo4 this hot button is correct. I have no idea what you want to do next with it though.
  24. that is why you can just take the hotkeys i provide there. or ask for the ones you need 🙂
×
×
  • 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.