NexusFi: Find Your Edge


Home Menu

 





Close after "N" Days


Discussion in MultiCharts

Updated
    1. trending_up 1,864 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?
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
Thursday May 28: GDP + Core PCE + Jobless Claims All at …
Traders Hideout
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Hormuz Completely Closed: US Strikes Day 2, Iran Shoots …
Traders Hideout
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
2 thanks
30 Sessions
1 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
  #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