Jump to content

Throne

Members+
  • Content Count

    11
  • Joined

  • Last visited

Posts posted by Throne


  1. Ok try adding what you suggested. You mention if you want to add more you just do it again, does that mean you are literally clicking in another stop lost and basically having 2 or more stop losses on the chart or how is your script handling the stops?

    I scale in and out of my positions most time to help with either losses or taking profits to early. So I do what I called "starters" which could be like 25% or 50% of my total size for the trade and add or subtract as the trade goes on. But the biggest thing is i never want my initial stop to change or go away until i manually clear it I just want it to update with total shares.


  2. Guys I cant for the life of me figure out how to scale in and out with these scripts and make my original stop update with adds or sells correctly. I will post my scripts and hopefully someone can tell me what Im missing.

     

    50% short
    StopPrice=Price+0.01;DefShare=BP*0.97;Share=DefShare*0.25*Price*0.025;Price=Price-Bid+0.01;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=bid-0.03;TIF=DAY+;SELL=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.3 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    50% Long 
    StopPrice=Price-0.01;DefShare=BP*0.97;Share=DefShare*0.25*Price*0.025;Price=Ask-Price+0.01;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Ask+0.03;TIF=DAY+;BUY=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.3 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    25% Add
    CXL ALLSYMB;DefShare=BP*0.97;Share=Pos;SShare=Share *0.25;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=bid-0.05;TIF=DAY+; SELL=Send;DefShare=400;

    25% Cover
    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.25;Price=Ask+0.03;TIF=DAY+;BUY=Send

    25% Sell
    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.25;Price=Bid-0.03;TIF=DAY+;SELL=Send

     

    Once again all Im needing is to have the original stop update the shares correctly as I scale in and out of the position.


  3. Can someone tell me why my stop looks like this:

    image.png.8a2e7f644a3d90d2deb108d96b222e3b.png
     

    I mean it works but why are there two.

    Here is my my hotbutton config:

    StopPrice=Price+0.01;DefShare=BP*0.97;Share=DefShare*0.25*Price*0.00749999999999999;Price=Price-Bid+0.01;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=bid-0.05;TIF=DAY;SELL=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:LIMIT PX:StopPrice+0.3 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
     

    Also what do I need to do to make my stop update based on scaling in and out?

     

    Here is my scale in and out configs:

    Short

    DefShare=BP*0.97;Share=Pos;SShare=Share *0.25;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=bid-0.05;TIF=DAY; SELL=Send;DefShare=400;
     


  4. 13 hours ago, peterB said:

    @danpadcas you click on the chart where you want your stop loss to be and click the hotkey. done

    @Throne it really depends on what you want to do. you just need to know what you are doing. if you like to open small then add, you could do it by using the same hotkey multiple times or use the free roll hotkey. really depends on where is your target and the overall situation. for scaling out you use the partial hotkeys with or without moving the stop loss.

    @peterB Thanks for responding so quickly. Let me play in demo a few days and report back.


  5. 22 minutes ago, Justin said:

    Great. Note that you can change the Route to Market and Price to Bid, for whatever your preference is on getting out of a position.

    FYI  Justin this is the script I was trying to use out of the spreadsheet, Im with CMEG.

    Scale- In POS % 50% Long:

    DefShare=BP*0.97;Share=Pos;SShare=Share *0.5;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Ask+0.05;TIF=DAY; BUY=Send;DefShare=400;

    Scale-Out POS % 50% SHort:

    Route=LIMIT;Share=Pos*0.5;Price=Ask+0.05;TIF=DAY;BUY=Send

     


  6. 16 minutes ago, Justin said:

    So you're asking If you are long and want to scale out 50% without touching your Stop Loss?

    That could be something like this:

    Route=LIMIT;Share=Pos*0.5;Price=Bid-0.05;TIF=DAY+;SELL=Send;

    Short would be:

    Route=LIMIT;Share=Pos*0.5;Price=Ask+0.05;TIF=DAY+;BUY=Send

     

    THanks Justin I try these and see if I can get them working.

    • Like 1

  7. 3 hours ago, Justin said:

    You technically don't need to cancel and reset the stop loss, but if you don't and the price goes against you, you'll suddenly be in a flipped position. This scenario will happen:

    You are 100 shares long at $15
    You have a stop loss sell order set for 100 shares at $14.90
    You partial 50 shares at $15.50
    It goes back to your stop loss, and you're suddenly 50 shares short.
     
    This will cancel your stop loss and reset it to breakeven with the correct remaining shares:
     
    CXL ALLSYMB;Route=Stop;Price=AvgCost;StopType=MARKET;STOPPRICE=AvgCost;StopPrice=Round2;Share=Pos;TIF=DAY+;Send=Reverse;

    Thanks for responding  Justin,  do you know know the scaling hotkeys should work with the stops?  Im tracking on what you said with the flipped positions, thanks. I just would like to scale in and out if without taking the stop out if i can.

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