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 Jobs Beat Flips Fed Hike Odds Past 52% for First T …
Traders Hideout
CME Raises Energy Futures Margins After Iran-War Volatil …
Commodities
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
US Prop Firms Race Inside the CFTC Perimeter -- Tradeify …
Funded Trading Evaluation Firms
 
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
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
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