[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Displaying HOT-> COLD RGB colors



PureBytes Links

Trading Reference Links

BlankHow would I create a function to generate RGB colors ranging in 100
steps (1%) to create Hot->Cold colors like we see in the 3D charts?

Function getRGBColorTemperature( MyVariable ) // 0 <= MyVariable <= 100;
    {
    Red    = f(MyVariable);
    Green = f(MyVariable);
    Blue   = f(MyVariable);
    return ColorRGB( Red, Geen, Blue );
    }

Many Thanks!

herman



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date: 1/4/2007 1:34 PM