Jump to content

DrJonoG

*Subscriber*
  • Content Count

    9
  • Joined

  • Last visited

Posts posted by DrJonoG


  1. First of all, apologies if there is a simpler way of doing this, or if it has already been discussed. 

    I've been playing around with my stream deck, I've never really used one before, and I found the multi action key incredibly useful. 

    I've always had problems with not taking profits or taking them too early, so I setup a multi action hotkey that buys into a position with my stop where I double clicked using this

    FocusWindow Level2;StopPrice=Price;Price = Ask-Price; Share = 200 / Price;ROUTE=SMRTL;Price=Ask+0.03;TIF=DAY+;BUY=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET STOPPRICE:StopPrice ACT:SELL QTY:POS TIF:DAY+

    I then use for my multi action hotkey the following, a profit target of 2R of 25% of my size

    FocusWindow Level2;Route=SMRTL;Share=Pos*0.25;Price=AvgCost-StopPrice;Price=Price*2;Price=Price+AvgCost;Price=Round2;TIF=DAY+;SELL=Send

    25% at 2.5R, cancel stop orders and set stop to break even

    CXL STOP;FocusWindow Level2;Route=SMRTL;Share=Pos*0.25;Price=AvgCost-StopPrice;Price=Price*2.5;Price=Price+AvgCost;Price=Round2;TIF=DAY+;SELL=Send
    FocusWindow Level2;Route=Stop;Price=AvgCost;StopType=MARKET;STOPPRICE=AvgCost;StopPrice=Round2;Share=Pos;TIF=DAY+;Send=Reverse;

    and 25% at 3R

    FocusWindow Level2;Route=SMRTL;Share=Pos*0.25;Price=AvgCost-StopPrice;Price=Price*3;Price=Price+AvgCost;Price=Round2;TIF=DAY+;SELL=Send

    I know this is really simple, but before when I did want to do this I was entering my trade with a hotkey, then pressing all the additional ones.

    As I mentioned, apologies if this is really long winded approach, please do share any more optimal methods 🙂

    Jono


  2. Thank you for this great script! I'm using it for my long position with a fixed $ risk. I was however wondering if there was a way to reject / not send the order if the number of shares I can afford are under 100? Sometimes in the heat of the moment I get in only to realise how far my actual stop was and the position size just wasn't worth it

    Thank you

    Jono 


  3. Hi again 🙂

    I've been trying to make a hotkey that will create a new 1 minute chart and pop this out. I found the script below in the das trader manual but what it does it creates a chart and then pops out one of my windows at random in my layout, but the new chart doesn't pop out. I'm assuming that I need to select the chart somehow, but any idea how I can do this?

    NewWindow Chart; Symbol QID; SetPopOut Y; MinuteChart 1;NumBar 25; WPos 382 0; WSize 600 500;

    Thank you


  4. This is what I have so far

    ROUTE=SMRTL;StopPrice=Price;Price=Ask+0.03;Share=200.0/(Price-StopPrice);TIF=DAY+;BUY=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET STOPPRICE:StopPrice ACT:SELL QTY:POS TIF:DAY+

    Which seems to work apart from 

    Share=200.0/(Price-StopPrice) 

    Any suggestions?

    I was also wondering if it was possible to not execute the trade if the average risk per share was greater than (for example) $0.40?


  5. Hi all

    I'm looking to create a simple hotkey that works as follows;

    I double click on the chart which defines my stop, I think hit my hotkey and buy as many shares as I can such that I lose no more than a total of $200 should my stop be reached. As the trade is sent a stop loss is triggered too at the place I clicked on the chart.

    Any help would be much appreciated

    Kind regards

    Jonathon

×
×
  • 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.