Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 08/26/2021 in Posts

  1. 1 point
    What does this do: This 2 part script will allow you to set a stop loss, set a future price on your chart where you want to enter, and dynamically calculate the shares you can afford based on a fixed dollar amount. What do you mean by “2 part”?: With the current limitations of DAS, it's required to use two scripts (hotkeys) for this to work. 1. The first hotkey will set where you want your Stop Loss to be 2. The second hotkey will set where you want your Entry to be Example: The High of Day is $49.99 The current price is $49.50 and trending back up towards HOD The L2 has lots of strong ASKS at various price levels above $50.00 You want to enter if it breaks $50.00 Double click on the chart where you want to set your Stop Loss - $49.90 You hit Hotkey 1 Double click on the chart where you want to set your Entry - $50.01 You hit Hotkey 2 If and when the price hits $50.01 it will automatically enter you into the trade with your fixed $Risk and place your Stop Loss. ------------------------------------------ I used this on NVDA today at 9:51 ($415.63) for a HOD break. Luckily my preset stop was also set right below $415 at $414.97, so I didn't get wicked out I actually set it up around 9:40 and wasn’t even looking at the chart when it entered for me! By the time I noticed I was in the trade I was already in the money! Scripts: Long $20 Risk: Part 1: StopPrice=Price Part 2: DefShare=BP*0.97;Price=Price-StopPrice;SShare=20/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare; SShare=Share;Share=Price*100; Price=StopPrice; DefShare=Price*100; Price=Share/100; Price=Price+StopPrice; StopPrice=Price; Share=SShare; TogSShare; Price=Price+.05;TIF=DAY+;Route=Stop;StopType=Limit; Buy=Send; Share=DefShare;Price=Share/100; StopPrice=Price; DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+; Short $20 Risk: Part 1: StopPrice=Price Part 2: DefShare=BP*0.97;Price=StopPrice-Price;SShare=20/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare; SShare=Share;Share=Price*100; Price=StopPrice; DefShare=Price*100; Price=Share/100; Price=StopPrice-Price; StopPrice=Price; Share=SShare; TogSShare; Price=Price-.05;TIF=DAY+;Route=Stop;StopType=Limit; Sell=Send; Share=DefShare;Price=Share/100; StopPrice=Price; DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+; Known Issues: I have seen the script fail and only enter me with a small number of shares. Uncertain what caused this, but I’ll be looking for it again. Final Thoughts: I’ve been testing this in SIM for a week and wouldn’t advise using it live without doing the same. I know a lot of people have been asking for something like this - I would love to hear what other scenarios people would use this for!
  2. 1 point
    Well, not completely lost, but I all tips and tricks are welcome, and highly appreciated! My name is Stefan (same in the chat), 37 years old and live in the Netherlands, near Breda, with my 4-year old son and girlfriend. I am a consultant, with a background in physics and business administration, at a medium-sized consultancy firm. Around half a year ago I came in contact with day trading, when I was finding my way in crypto and looking for something more stable. After reading some books (not yet Andrew's) I started watching the BBT Pre-market Prep on YT and joined a Dutch/Belgium community. Although they are doing their best, the founders of this community are not yet experienced enough to lead a community. So then I read Day Trading for a Living and last week decided to join BBT and ended up in Wonderland. In a positive sense by the way, as there is so much content to explore. My plan for now is, eventually, trading the 2 hours after the market opens. For me, those are the 2 hours before dinner and before my son returns from school. This immediately gives some guidance to the strategies I will be adding to my tradebook. I have finished the basic courses, I join the chatroom almost every day and now I am working my way through the essential training courses. I started out with Technology and quickly realized I could not postpone ordering a new laptop any longer. Apparently though, connecting 3 monitors to a laptop via a docking station is not that straight forward. At this point, I am waiting for the fourth laptop to arrive . I returned the first three after discovering that the thunderbolt connector did not support multiple monitors, as was stated on the retailers' websites. After getting my setup up and running, I plan on installing DAS, going through the Technology courses and getting all the different settings implemented. While waiting for the hardware, I am focusing on the Trader's Business Plan courses. I figured that would be a nice place to start. Or would you guys recommend doing something else first? After my business plan, I am planning on starting with building my tradebook. In the past few months, I have already spend some time on the psychology part, realizing it's importance, by reading books like Trading in the Zone, Trading for a Living and Mastering Trading Psychology. Still, lots to learn on the subject, and looking forward to the psychology courses. Finally, to finish of this monologue , I could really use your advice on what is the logical order to start at BBT. Am I doing things in a logical order, or am I missing something here? Again, all tips and tricks are highly appreciated. Looking forward to being part of this community, and if you want to know more about me, feel free to ask me anything.
  3. 1 point
    I ran into a problem when I changed the target to 1.5 (instead of an even number) (I also changed the script to a market entry instead of limit) anyway, the problem: Randomly the TriggerOrder wouldn't flow. It wouldn't give an error or anything, it just wouldn't show up. I fixed the problem by adding Price=Round2; after the StopPrice*1.5; (and also in the same place on the Short version of the script) Now the TriggerOrders execute smoothly every time. Best, Russell Landwehr
×
×
  • 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.