NexusFi: Find Your Edge


Home Menu

 





1-min Intrabar indicator


Discussion in MultiCharts

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




 
Search this Thread
  #1 (permalink)
 ptcm 
Taiwan
 
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.

https://nexusfi.com/local_links.php?linkid=1125


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
Iran Airspace Collapses 18 Points to 15.5% While Hormuz …
Prediction Markets & Event Contracts
 
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
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 159

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.

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


Visit my NexusFi Trade Journal Reply With Quote




Last Updated on June 7, 2021


© 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