View Single Post
  #3 (permalink)  
Old 06-10-2010, 11:48 PM
Davietrader Davietrader is offline
Currency Trader
 
Join Date: Jun 2010
Posts: 3
Davietrader is on a distinguished road
Default

Quote:
Originally Posted by zupcon View Post
Your not setting a value for the upperline variable, therefore it defaults to 0, and the bid is always higher than 0.
Hey ZUP thank you very much....your observation was spot on!!

First I made a stupid mistake writing lowerline twice....!!

But after reading your post I realized that I was actually stating "Bid" as a variable value and as a price reference for my "if" making it a worthless conditional.

I changed the iENVELOPES "Bid" to CLOSE_PRICE and guess what? It works!!

Thanks gain for the help!!

Last edited by Davietrader; 06-10-2010 at 11:52 PM.
Reply With Quote