FooeyBar / Perfil
Amigos
76
Solicitudes
Enviadas
FooeyBar
New update (I'm a little late) of MT4 allows indicators to operate simultaneously in the gui thread, race conditions are now possible for indicators accessing terminal variables and functions, such as GlobalVariables.
FooeyBar
color colour[88]={clrWhite ,clrIvory ,clrSnow ,clrDarkSlateGray ,clrGreen ,clrTeal ,
clrPurple ,clrIndigo ,clrDarkBlue ,clrForestGreen ,clrSeaGreen ,clrMediumBlue ,
clrMediumVioletRed,clrMediumSeaGreen,clrSteelBlue ,clrMediumSpringGreen,clrLawnGreen ,clrDeepPink ,
clrChartreuse ,clrLime ,clrSpringGreen ,clrAqua ,clrDeepSkyBlue ,clrBlue ,
clrMediumTurquoise,clrDodgerBlue ,clrTurquoise ,clrRoyalBlue ,clrSlateBlue ,clrDarkKhaki ,
clrGreenYellow ,clrDarkSeaGreen ,clrTomato ,clrRosyBrown ,clrOrchid ,clrMediumPurple ,
clrCornflowerBlue ,clrSandyBrown ,clrHotPink ,clrViolet ,clrSkyBlue ,clrPlum,clrGold ,
clrLightGreen ,clrAquamarine ,clrSilver ,clrLightSkyBlue ,clrLightSteelBlue,clrLightBlue ,
clrPowderBlue ,clrPaleGoldenrod ,clrPaleTurquoise,clrLightGray ,clrNavajoWhite ,clrLightPink ,
clrLightGoldenrod ,clrBlanchedAlmond,clrLemonChiffon ,clrBeige ,clrAntiqueWhite ,clrLavenderBlush,
clrLavender ,clrMistyRose ,clrHoneydew ,clrLightYellow ,clrCornsilk ,clrLightCyan ,
clrYellowGreen ,clrLimeGreen ,clrOrangeRed ,clrLightSeaGreen ,clrDarkViolet ,clrPeru,clrPink ,
clrMediumOrchid ,clrWhiteSmoke ,clrThistle ,clrRed ,clrPaleVioletRed ,clrMagenta ,
clrDarkOrange ,clrAliceBlue ,clrPaleGreen ,clrDarkTurquoise ,clrDarkOrchid ,clrGainsboro ,
clrYellow ,clrOrange };
color random=(color)(1+87*MathRand()/32768);
use colour[random] for random colouring of objects, looks really funny when used with onchart mouseclick
clrPurple ,clrIndigo ,clrDarkBlue ,clrForestGreen ,clrSeaGreen ,clrMediumBlue ,
clrMediumVioletRed,clrMediumSeaGreen,clrSteelBlue ,clrMediumSpringGreen,clrLawnGreen ,clrDeepPink ,
clrChartreuse ,clrLime ,clrSpringGreen ,clrAqua ,clrDeepSkyBlue ,clrBlue ,
clrMediumTurquoise,clrDodgerBlue ,clrTurquoise ,clrRoyalBlue ,clrSlateBlue ,clrDarkKhaki ,
clrGreenYellow ,clrDarkSeaGreen ,clrTomato ,clrRosyBrown ,clrOrchid ,clrMediumPurple ,
clrCornflowerBlue ,clrSandyBrown ,clrHotPink ,clrViolet ,clrSkyBlue ,clrPlum,clrGold ,
clrLightGreen ,clrAquamarine ,clrSilver ,clrLightSkyBlue ,clrLightSteelBlue,clrLightBlue ,
clrPowderBlue ,clrPaleGoldenrod ,clrPaleTurquoise,clrLightGray ,clrNavajoWhite ,clrLightPink ,
clrLightGoldenrod ,clrBlanchedAlmond,clrLemonChiffon ,clrBeige ,clrAntiqueWhite ,clrLavenderBlush,
clrLavender ,clrMistyRose ,clrHoneydew ,clrLightYellow ,clrCornsilk ,clrLightCyan ,
clrYellowGreen ,clrLimeGreen ,clrOrangeRed ,clrLightSeaGreen ,clrDarkViolet ,clrPeru,clrPink ,
clrMediumOrchid ,clrWhiteSmoke ,clrThistle ,clrRed ,clrPaleVioletRed ,clrMagenta ,
clrDarkOrange ,clrAliceBlue ,clrPaleGreen ,clrDarkTurquoise ,clrDarkOrchid ,clrGainsboro ,
clrYellow ,clrOrange };
color random=(color)(1+87*MathRand()/32768);
use colour[random] for random colouring of objects, looks really funny when used with onchart mouseclick
: