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