View Single Post
  #4 (permalink)  
Old 06-25-2006, 07:35 AM
elihayun's Avatar
elihayun elihayun is offline
Senior Member
 
Join Date: Jan 2006
Posts: 379
elihayun is on a distinguished road
Quote:
Originally Posted by iscuba11
This is a simple question. I am not well versed in MQ4 language.

How can I change a statement from:

if (OsMA Previous > OsMAPrevious 2) OsMADirection = 1

To: (OsMA Previous > OsMAPrevious 2) OsMADirection = Bullish ??

Is it as simple as putting quotations around Bullish. Your simple advice is appreciated.

Dave
<><<<
If u don't want to change the entire program u can do the following

at the start of the program put the line

#define Bullish 1

and everytime instead of using 1 as bullish u can just write Bullish instead

Eli
Reply With Quote