[MT4-EA]这种源码哪个懂的?是tradestation的代码么?懂得请联系小弟
小弟QQ:402906014
INPUTS: RISK(3), MONYRISK(2.0);
IF CURRENTBAR = 1 THEN BEGIN
VARS: VALUE2(1), VALUE3(18), VALUE10(10000), VALUE19(0);
VALUE19 = MONYRISK*AVERAGE(RANGE, 10)*BIGPOINTVALUE;
VALUE2 = RISK;
VALUE3 = 18 + 3*VALUE2;
END;
VALUE11 = AVERAGE(C, 9);
VALUE12 = AVERAGE(C, VALUE3);
VALUE13 = AVERAGE(RANGE, 10);
VALUE4 = JESSD( HIGH, LOW, H[VALUE2], L[VALUE2], C[VALUE2] );
IF MRO (VALUE4 > VALUE4[1] AND VALUE4[1] < VALUE4[2], 2, 1) > -1 AND L[1] > VALUE4[1] THEN
VALUE5 = VALUE4[1] - VALUE13 ;
IF MRO (VALUE4 < VALUE4[1] AND VALUE4[1] > VALUE4[2], 2, 1) > -1 AND H[1] < VALUE4[1] THEN
VALUE6 = VALUE4[1] + VALUE13 ;
IF VALUE11[1] < VALUE12[1] AND VALUE11 > VALUE12 THEN VALUE5 = TRUELOW -VALUE13;
IF VALUE11[1] > VALUE12[1] AND VALUE11 < VALUE12 THEN VALUE5 = TRUEHIGH + VALUE13;
IF ABSVALUE( O - C[1] ) >= 1.618*VALUE13 THEN BEGIN
IF VALUE11 > VALUE12 THEN VALUE5 = LOW - VALUE13;
IF VALUE11 < VALUE12 THEN VALUE14 = HIGH + VALUE13;
END;
VALUE7 = BS105(L, 2.40, VALUE13, VALUE9 );
VALUE8 = SS105(H, 2.40, VALUE13, VALUE10 );