NexusFi: Find Your Edge


Home Menu

 





Close after "N" Days


Discussion in MultiCharts

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




 
Search this Thread
  #1 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4

Hi all,

anyone know if there's a way to close position after N Days of activity ?
Of for example, to refere "barsinceentry" from data2 ?

Regards
No Erocla


Reply With Quote

 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

No Erocla,

what about counting the number of days you are in a position or to close the position when the date is X days later than your entry date?

Regards,
ABCTG


no erocla View Post
Hi all,

anyone know if there's a way to close position after N Days of activity ?
Of for example, to refere "barsinceentry" from data2 ?

Regards
No Erocla


Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4


Dear ABCTG thank you for response,

i don't know about the first way, because day are from 0 to 6.
for the second way of course can be possibile, i've to store the day during entering at market, i was hoping to some other shortcut.

thank you
regards
no erocla


Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

No Erocla,

for the first way you'd need your own counter, each new day while in a position you'd increment it. You don't need the day value for that.
PosTradeEntryDateTime already stores the date information for entries, there is no need to store it. When you work on daily charts you can even use BarsSinceEntry.

Regards,

ABCTG


Follow me on X Reply With Quote
Thanked by:




Last Updated on February 23, 2016


© 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