NexusFi: Find Your Edge


Home Menu

 





Position Management


Discussion in Platforms and Indicators

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




 
Search this Thread

Position Management

  #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?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
45 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts