View Single Post
  #6 (permalink)  
Old 09-12-2008, 04:02 PM
dim13 dim13 is offline
Junior Member
 
Join Date: Aug 2007
Posts: 9
dim13 is on a distinguished road
Quote:
Originally Posted by The Rock View Post
--------------------------------------------------------------------------

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.
Reply With Quote