Jump to content

peterB

Lifetime Members
  • Content Count

    1,334
  • Joined

  • Last visited

  • Days Won

    100

Everything posted by peterB

  1. thanks @Matt @Kevin D it is in the part 2 https://traderpeter.substack.com/p/das-trader-advanced-hotkeys-part just change the $target according your needs
  2. hi, i gave you a resource with working keys yet you decided to use something else and it does not work. yes you are right. you doing it wrong. it is 2024 so you should forget the DAS Video series scripts from 12 years ago and save yourself a lot of trouble by using the new syntax. on your screenshot there is obviously no number of shares set hence the invalid number of shares
  3. just go here and do not forget to read this as well as there are some requirements to be set in the settings too
  4. Well, it is possible in 2 ways. One is described here it is not a traditional order therefore das support has to tell you that this kind of order is not possible (on the brokers side) but you can manage your orders on your pc. with its own challenges of course, nevertheless it is proven to work and I use it every day with success On another note, trailing vwap as a stop might not be the best idea as if you look at any chart the vwap bounces happen but the vwap is often tested. Luckily with the method linked above you can calculate your trailing stop easily to be slightly below/above vwap
  5. that is available here as the OCO order. the example there is 1/3 risk/reward so you need to adapt it to 1/5
  6. it might have been that the post is so old that at that time it worked like that then it was changed in das over the time. or maybe you have enabled the new syntax in your das while the syntax you use is old syntax which does not work
  7. you probably wrongly assumed that Pos-share on longs equivalent should be Pos+share for shorts, but it is not like that. Change the Pos+share to Pos-share and it should work. you are probably getting error Invalid shares because you are trying to set a stop order for number of shares you do not have or do not have the BP for. for working hotkeys always go here
  8. Hi and welcome. Read this for possible solution https://open.substack.com/pub/traderpeter/p/why-are-your-losing-days-bigger-than?r=1wujo4&utm_campaign=post&utm_medium=web
  9. 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
  10. 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.
  11. any reason why you do it this way and do not do it this way instead?
  12. 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
  13. as you anticipated right, there is more to discover. see this and especially this good luck!
  14. We can now process orders anytime, just like if we did it manually. All the details here.
  15. 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
  16. 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
  17. 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
  18. 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));
  19. 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.
  20. see here https://open.substack.com/pub/traderpeter/p/das-trader-advanced-hotkeys-part?r=1wujo4&utm_campaign=post&utm_medium=web
  21. yes if your stop is 10 cents and the spread is 7 cents you are down 0.7R right when you open the position.
  22. 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)
×
×
  • 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.