Files
xMQL5/MQLTestWorkspace/BKPS/Templates/short.sl.calc.test.mql5
T

63 lines
1.6 KiB
Plaintext

// //
// int prevBearish =
// XTRNDHLPFindNextTrendSwitchedBearish(1);
// XOHCL cPrevBearish = GetCandle(
// _Symbol,
// _Period,
// prevBearish);
// //
// int prevBullish =
// XTRNDHLPFindNextTrendSwitchedBearish(1);
// XOHCL cPrevBullish = GetCandle(
// _Symbol,
// _Period,
// prevBullish);
// //
// double changeRate = XATRSLHLPGetChangeRate(1);
// double rangeChangeRate = XATRSLHLPGetRangeChangeRate(2);
// double atrValue = atrslUpBuffer[1];
// if (changeRate > rangeChangeRate)
// {
// atrValue = atrslUpBuffer[2];
// }
//
// double hhValue = GetHighestHigh(
// _Symbol,
// _Period,
// 3,
// 1);
//
// double mrbValue = MathMax(mrbFastBuffer[1], mrbSlowBuffer[1]);
//
// atrslUpBuffer[1];
// ichiKijunSenBuffer[1];
// MathMin(cPrevBullish.high, cPrevBearish.high);
// double hh9Value =
// GetHighestHigh(
// _Symbol,
// _Period,
// 1,
// 9);
//
// int prevSwingHigh = FindSwing(
// _Symbol,
// _Period,
// MODE_HIGH,
// 5,
// 1);
// //
// double s1 = XPVHLPGetLastStrongSupport(1);
// double s2 = XPVHLPGetLastStrongSupport(2);
// //
// double r1 = XPVHLPGetLastStrongResistance(1);
// double r2 = XPVHLPGetLastStrongResistance(2);