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 1,795 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Indicator that appear only on intraday timeframes

  #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?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
Quantum physics & Trading dynamics
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Cheap historycal L1 data for stocks
Stocks and ETFs
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
24 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
16 thanks
GFIs1 1 DAX trade per day journal
12 thanks
EG Indicators
11 thanks
  #2 (permalink)
 kiwi 
Gold Coast
 
Experience: Advanced
Platform: Sierra Chart
Trading: Futures and Forex
Posts: 49 since Aug 2010
Thanks Given: 23
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,401

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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts