Jump to content

FlyOrSwim

*Subscriber*
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Understood about BP... Regarding the error message: I tried messing around with all types of "Round" and it doesn't work. But even if it worked, in your example would be perfect for prices with 3 decimals. But if I would use the same script for 0.0022 Bid and 0.0023 Ask, I would be screwed. It would be great if there was a function of "Round" to round always the last decimal ( NOT "Round2", "Round3", "Round4", etc.), so I don't have to make a lot of hotkeys differentiated by decimals. I was wondering maybe there is an easier solution to that or maybe there is a bug I should sort. Anyway... Thank You for your contribution Peter... Much appreciated...
  2. Hi guys... Really delighted with finding your comunity. I came across Kyle's scripts with equilized risk and since then trying to implement them in my trading strategies. However they don't work for me all the time at the moment. More often than not I get the "Can't get valide price" error message. It happens randomly so it's hard for me to find the solution. I tried fresh installs and also older versions. I tried to edit the scripts in different variations. Nothing works. I mostly trade low priced OTC's and sometimes subpenny stocks. Yes, more often it happens when I trade those subpennies but sometimes it happens even with 0.50$ stocks. I was thinking maybe to include "Round" in the script, but I trade stocks with diverse number of decimals and it means that for each category of price I would have to make separate hotkeys with according "Round". Maybe there is something I am missing. Please have a look at the script I am using : CXL ALLSYMB;StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Bid+0.00;TIF=DAY+;BUY=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.00 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+; I always trade using $ amount of risk. Can I delete the BP part from the script so it doesn't complicate it or it would be a stupid idea? It is a brilliant script when it's doing the job though... Any help will be much appreciated...
×
×
  • 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.