
09-12-2008, 04:02 PM
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 9
|
|
Quote:
Originally Posted by The Rock
--------------------------------------------------------------------------
I have to attempt insert this code but the Expert Advisor don`t start!
sngSlope0 = NormalizeDouble(iCustom(NULL, 0, "Slope Direction Line", 80, 3, 0, 0, 0), 4);
sngSlope1 = NormalizeDouble(iCustom(NULL, 0, "Slope Direction Line", 80, 3, 0, 1, 0), 4);
if (sngSlope1>=sngSlope0) {
// Long
}
else {
// Short
}
Have One here qualities in MQL4 programming and can help me this EA to program?
|
// Long - means place your Buy routine here. The "//" are comments.
|