NexusFi: Find Your Edge


Home Menu

 





Colour Bar Script Assistance


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one zt379 with 4 posts (0 thanks)
    2. looks_two eDanny with 3 posts (4 thanks)
    3. looks_3 Big Mike with 1 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
      Best Posters
    1. looks_one bukkan with 2 thanks per post
    2. looks_two eDanny with 1.3 thanks per post
    3. looks_3 Big Mike with 1 thanks per post
    4. looks_4 redratsal with 1 thanks per post
    1. trending_up 5,828 views
    2. thumb_up 8 thanks given
    3. group 3 followers
    1. forum 10 posts
    2. attach_file 0 attachments




 
Search this Thread
  #11 (permalink)
 
eDanny's Avatar
 eDanny 
East Rochester, NY
 
Experience: Intermediate
Platform: NT
Posts: 329 since Jul 2009
Thanks Given: 18
Thanks Received: 425

Your curly brackets would have worked, i just removed them as unnecessary. The reason yours wasn't working correctly is because of the missing 'else' after the first Cross test. In other words you tested, then tested again for the other condition regardless of the outcome of the first test, the CrossAbove. Using an 'else' will have the effect of your second test, CorssBelow never being hit unless the first fails. Then if the second fails the third action takes place.


Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
$4.5M Floods Russia Nuclear Contract in 24 Hours -- Krem …
Prediction Markets & Event Contracts
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks




Last Updated on March 17, 2011


© 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