NexusFi: Find Your Edge


Home Menu

 





Thinkscript for candle with no wicks paint bar


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one Nube with 3 posts (0 thanks)
    2. looks_two rmiller863 with 2 posts (0 thanks)
    3. looks_3 Massive l with 1 posts (0 thanks)
    4. looks_4 AndrewQ with 1 posts (1 thanks)
    1. trending_up 2,780 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 rmiller863 
Lake wales FL/ USA
 
Experience: Intermediate
Platform: TOS ,Tradestation, Sierra
Trading: Futures
Posts: 41 since Jul 2013
Thanks Given: 9
Thanks Received: 2

I need help creating a thinkscript. I would like a paintbar if a candle has no wicks. Anyone know how and willing to help me? Thank you


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
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
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
CME Group CEO Calls CFTC-Approved Crypto Perps Dangerous …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
Nube
Minneapolis Minnesota
 
Posts: 24 since Jul 2019
Thanks Given: 0
Thanks Received: 13


rmiller863 View Post
I need help creating a thinkscript. I would like a paintbar if a candle has no wicks. Anyone know how and willing to help me? Thank you

Can you explain a little more? I don't know if I'm following what a paintbar is?


Reply With Quote
  #3 (permalink)
 rmiller863 
Lake wales FL/ USA
 
Experience: Intermediate
Platform: TOS ,Tradestation, Sierra
Trading: Futures
Posts: 41 since Jul 2013
Thanks Given: 9
Thanks Received: 2


it paints the candle a different color if certain conditions are met. To identify easily.


Started this thread Reply With Quote
  #4 (permalink)
Nube
Minneapolis Minnesota
 
Posts: 24 since Jul 2019
Thanks Given: 0
Thanks Received: 13


rmiller863 View Post
it paints the candle a different color if certain conditions are met. To identify easily.

Do you want no wicks or do you want to leave the wicks as is?


Reply With Quote
  #5 (permalink)
 
Massive l's Avatar
 Massive l 
OR/USA
Legendary /NQ Trader
 
Experience: None
Posts: 2,129 since Mar 2011
Thanks Given: 1,859
Thanks Received: 5,108


Nube View Post
Do you want no wicks or do you want to leave the wicks as is?

I think he wants the bar to be a certain color if the low = open and close = high


Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 AndrewQ 
Seattle, WA
 
Experience: Beginner
Platform: Thinkorswim, NinjaTrader
Trading: Micros
Posts: 4 since Nov 2018
Thanks Given: 3
Thanks Received: 7

AssignPriceColor(if low == close and high == open then Color.PINK else if low == open and high == close then Color.LIME else Color.CURRENT);

That should work. Paints wick-less red candles PINK and wick-less green candles LIME. You can change the colors to your liking. Here are the thinkscript colors.


Reply With Quote
Thanked by:
  #7 (permalink)
Nube
Minneapolis Minnesota
 
Posts: 24 since Jul 2019
Thanks Given: 0
Thanks Received: 13

Cyan if candle opens at low or closes at high and Dark Orange if candle opens at high or closes at low

 
Code
AssignPriceColor(if close == high or open == low then
                  Color.Cyan else if close == low or open == high then 
                                    Color.Dark_Orange else Color.Current);


Reply With Quote




Last Updated on July 24, 2019


© 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