Jump to content

Max

Members+
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by Max

  1. I am trying to get the equalized risk with range order target hotkey set up in DAS trader using the updated hotkeys from Peter's site, however I am having an issue with the short version. When I execute it it is saying "Invalid shares." The long version works. Any help would be appreaciated! $MONTAGE=GetWindowObj("MONTAGE1"); $MONTAGE.CXL ALLSYMB; $sellprice=$MONTAGE.Bid; $risk=20; $mystop=$MONTAGE.price; $pricetostop=$mystop-$sellprice; $target=Bid-$pricetostop-$pricetostop-$pricetostop; $amount=$risk/$pricetostop; $MONTAGE.Share=$amount; $MONTAGE.ROUTE="SMRTL"; $MONTAGE.Price=Round($sellprice,2); $MONTAGE.TIF=DAY+; $MONTAGE.SELL; $MONTAGE.TriggerOrder=RT:STOP STOPTYPE:RANGEMKT LowPrice:$target HighPrice:$mystop ACT:BUY QTY:POS TIF:DAY+;
×
×
  • 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.