NexusFi: Find Your Edge


Home Menu

 





1-min Intrabar indicator


Discussion in MultiCharts

Updated
    1. trending_up 3,772 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?
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Khamenei Vetoes Uranium Transfer as Peace Odds Surge to …
Prediction Markets & Event Contracts
Penalties in Budapest, Peace Deadline in Tehran: Arsenal …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
The Pivot Point 113.6³ — Navigating the Prediction of …
26 thanks
Sober Journey With S&P
17 thanks
The Confluence Meter: A Multi-Layered Signal Framework B …
11 thanks
NT8 color choices
10 thanks
Volume Indicators
7 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