Thread: How to code?
View Single Post
  #1264 (permalink)  
Old 09-05-2008, 09:10 PM
Dave137 Dave137 is offline
Senior Member
 
Join Date: Oct 2007
Posts: 230
Dave137 is on a distinguished road
Question Help with #property indicators

I am trying to code an indicator to change the indicator color using a "if" conditional statement with no success.

PHP Code:
if(PeakUp==True)
{
#property indicator_color4 Lime
}
if(
PeakUp==True)
{
#property indicator_color3 CLR_NONE
}


if(
PeakUp==False)
{
#property indicator_color4 CLR_NONE
}
if(
PeakUp==False)

{
#property indicator_color3 Red


Can anybody help??


Dave
<><<<
Reply With Quote