NexusFi: Find Your Edge


Home Menu

 





Position Management


Discussion in Platforms and Indicators

Updated
    1. trending_up 1,718 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
sunsun
hong kong
 
Posts: 6 since May 2013
Thanks Given: 1
Thanks Received: 1

Hi, I am trying to set trailing stops for individual position but I could not find any keyword related to position management.

I would like to set a trailing stop loss when the open position profit is greater than a certain amount. Any amount less than the floating profit will not activate the trailing stop.

The idea should be as follows,

if (openpositionprofit > 5000) then ApplyStop(2,2,trailingpoint,1,False,0);

I wonder if there is such keyword as openpositionprofit, or similar

Also, I am wondering if I can separate the stop losses and trailing stops for long and short positions, as in some cases, they may need different parameters.

If someone is familiar with keywords in amibroker, please educate me if the below keywords are available in amibroker

- last buy entryprice (or current position entry price)
- last short entryprice
- islongshort ( 1 if long, -1 if short)
- isflat (1 if there is current position, 0 if flat)


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Expiration Day: Wall Street Rallies on Peace Hopes While …
Prediction Markets & Event Contracts
CFTC Chair Selig Puts Timeline on US Crypto Perpetual Fu …
Cryptocurrency
The Backwardation Signal: How the CL Futures Curve Tells …
Commodities
MegaETH Proves the Crowd Right: Prediction Markets Calle …
Prediction Markets & Event Contracts
CFTC Workforce Shrinks 24% to 15-Year Low While Predicti …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
colion
Asheville, North Carolina
 
Posts: 24 since Sep 2010
Thanks Given: 1
Thanks Received: 15


sunsun View Post

If someone is familiar with keywords in amibroker, please educate me if the below keywords are available in amibroker

You can find all keywords and functions in the Users Guide, under Help, and at amibroker.com


Reply With Quote




Last Updated on March 11, 2015


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts