Jump to content

We have moved to Discord. Please click here to join us in the Trading Terminal Discord server.



These forums are read-only.

Zeckrin

Covering % Of Positions - Static on original position?

Recommended Posts

Zeckrin

So I found that you can use this hotkey to cover say 25% of the position:

Route=LIMIT; Share=Pos*.25; Price=Bid-.05; NoRR=N; TIF=DAY; SELL=Send

That works fine. but then if you use it again it covers 25 % of the postion you now currently hold after covering 25%. 

You hit it again and now it covers 25% of the existing postion and so on.

How can you make a key where your original position was 100 shares. You cover 25% (25 shares) putting you at 75 shares. and then you hit the hotkey again and cover 25 shares leaving you at 50 shares, and then again 25 shares leaving at 25, and then again closed? This is what you would want.

As it stands you cover 25 shares of 100 then have 75 share position. Then you cover 25% and then you are covering 18.75 shares, then have 56.25, then cover 25% and have 42.2 shares and so on.

Is there a solution to this?

Thanks all.

Mike

Share this post


Link to post
Share on other sites
TonyKozina

Hey! do you now what NoRR=N does in the script?

Edited by TonyKozina

Share this post


Link to post
Share on other sites

[[Template core/front/global/mobileNavigation is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

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.