NexusFi: Find Your Edge


Home Menu

 





Indicator that appear only on intraday timeframes


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one kiwi with 1 posts (0 thanks)
    2. looks_two TRSQ with 1 posts (0 thanks)
    3. looks_3 Tasker_182 with 1 posts (0 thanks)
    4. looks_4 ColoradoCliff with 1 posts (0 thanks)
    1. trending_up 2,511 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
TRSQ
Montpellier
 
Posts: 6 since Apr 2021
Thanks Given: 3
Thanks Received: 0

Hello i'm trying to make an indicator that appears only on intraday timeframe as 1min 2min 3min etc... I dont want it to appear in Daily chart.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Datafeed for Atas
Platforms and Indicators
Trump Media to sell instant access to market-moving soci …
Traders Hideout
EA
Platforms and Indicators
No book, only a stair: journaling fills where price move …
Cryptocurrency
My Rant with AMP Futures
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Mes vs MNQ
6 thanks
NexusFi site changelog and issues/problem reporting
5 thanks
BERN ALGOS algo trading journal
3 thanks
Johnnys Journal
2 thanks
TopStep Trader disappointment
2 thanks
  #2 (permalink)
 kiwi 
Gold Coast
 
Experience: Advanced
Platform: Sierra Chart
Trading: Futures and Forex
Posts: 50 since Aug 2010
Thanks Given: 24
Thanks Received: 96

If you can read the seconds or minutes per bar, don't plot the indicator when its >= 1 day.


Reply With Quote
  #3 (permalink)
ColoradoCliff
Parker CO/USA
 
Posts: 22 since Jun 2017
Thanks Given: 0
Thanks Received: 5


Use the built in GetAggregationPeriod function and only run the code if it's <= 1Day. Use something like

if GetAggregationPeriod() < AggregationPeriod.DAY .....



TRSQ View Post
Hello i'm trying to make an indicator that appears only on intraday timeframe as 1min 2min 3min etc... I dont want it to appear in Daily chart.


Reply With Quote
  #4 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,406

if (!Bars.BarsType.IsIntraday)
{
// do something, like return;
}

(If Bars are NOT intraday, do something)


Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote




Last Updated on November 20, 2022


© 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