NexusFi: Find Your Edge

Home Menu


1-min Intrabar indicator

Discussion in MultiCharts

    1. trending_up 3,351 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments

Search this Thread

1-min Intrabar indicator

  #1 (permalink)
Experience: Intermediate
Platform: MC
Posts: 77 since Jun 2010
Thanks Given: 8
Thanks Received: 17

I am trying to create a 1-min Intrabar indicator that can make the bar change color dynamically based on the following criteria.

If the last traded tick is smaller than the midpoint of the 1-min bar range, the bar becomes red and green if last tick is greater than the mid point.

example in ES

1-min bar range:10

futures trading 4010

if next tick trades at 4003, the bar turns red automatically.

Conversely, if next tick trades at 4008, the bar turns green automatically.

Can someone please help ? Thanks a lot in advance.

I was looking at this function, but I can't figure out how to do it.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
Platforms and Indicators
Exit Strategy
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
ShadowFox's Avatar
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157

This kind of study would be a Paint bar. Open powerlanguage editor and create a new paint bar. Paste the below code and verify the code (I built this in tradestation but shouldn't throw any errors). Then add the study to your chart.

if Close >= (High - Low)/2 + Low then
PlotPaintBar( High, Low, "Plot", Green ) ;
PlotPaintBar( High, Low, "Plot", Red ) ;
end ;

Visit my NexusFi Trade Journal Reply With Quote

Last Updated on June 7, 2021

© 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