Files
MQL5Data/Documents/BKP/canRecover.mq5
T
2024-09-19 14:49:24 +03:30

109 lines
3.9 KiB
Plaintext

//
// Long Recovery ...
if (isLong)
{
//
// Opposit Direction ...
// canRecover =
// //
// isTicksBearishForShort &&
// (
// //
// hasBearishTrend &&
// (hasBearishPower ||
// hasBearishPattern ||
// hasBearishPressure)
// //
// )
// //
// ;
// if (canRecover)
// {
// //
// sl = position.tp;
// tp = position.sl;
// type = POSITION_TYPE_SELL;
// }
//
// Same Direction ...
// if (!canRecover)
// {
// //
// canRecover =
// //
// isTicksBullishForLong &&
// (
// //
// hasBullishTrend &&
// (hasBullishPower ||
// hasBullishPattern ||
// hasBullishPressure)
// //
// )
// //
// ;
// if (canRecover)
// {
// //
// sl = position.sl;
// tp = position.entry;
// type = POSITION_TYPE_BUY;
// }
// }
}
//
// Short Recovery ...
else
{
//
// Opposit Direction ...
// canRecover =
// //
// isTicksBullishForLong &&
// (
// //
// hasBullishTrend &&
// (hasBullishPower ||
// hasBullishPattern ||
// hasBullishPressure)
// //
// )
// //
// ;
// if (canRecover)
// {
// //
// sl = position.tp;
// tp = position.sl;
// type = POSITION_TYPE_BUY;
// }
//
// Same Direction ...
// if (!canRecover)
// {
// //
// canRecover =
// //
// isTicksBearishForShort &&
// (
// //
// hasBearishTrend &&
// (hasBearishPower ||
// hasBearishPattern ||
// hasBearishPressure)
// //
// )
// //
// ;
// if (canRecover)
// {
// //
// sl = position.sl;
// tp = position.entry;
// type = POSITION_TYPE_SELL;
// }
// }
}