NexusFi: Find Your Edge


Home Menu

 





Indicator that appear only on intraday timeframes


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one Tasker_182 with 1 posts (0 thanks)
    2. looks_two ColoradoCliff with 1 posts (0 thanks)
    3. looks_3 kiwi with 1 posts (0 thanks)
    4. looks_4 TRSQ with 1 posts (0 thanks)
    1. trending_up 2,419 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?
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Second Night of US Strikes Crushes Iran June 15 to 3.6% …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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