NexusFi: Find Your Edge


Home Menu

 





Close after "N" Days


Discussion in MultiCharts

Updated
    1. trending_up 2,078 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

Can you help answer these questions
from other members on NexusFi?
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
Renko can be the way.
Commodities
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

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,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

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