Jump to content

peterB

Lifetime Members
  • Content Count

    1,332
  • Joined

  • Last visited

  • Days Won

    99

Everything posted by peterB

  1. just go here and do not forget to read this as well as there are some requirements to be set in the settings too
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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.
  9. any reason why you do it this way and do not do it this way instead?
  10. 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
  11. as you anticipated right, there is more to discover. see this and especially this good luck!
  12. We can now process orders anytime, just like if we did it manually. All the details here.
  13. 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
  14. 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
  15. 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
  16. 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));
  17. 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.
  18. see here https://open.substack.com/pub/traderpeter/p/das-trader-advanced-hotkeys-part?r=1wujo4&utm_campaign=post&utm_medium=web
  19. yes if your stop is 10 cents and the spread is 7 cents you are down 0.7R right when you open the position.
  20. 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)
  21. 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
  22. 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
×
×
  • 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.