This commit is contained in:
2024-09-19 14:49:24 +03:30
parent f3398901ef
commit 46f8009ca5
5 changed files with 478 additions and 248 deletions
+108
View File
@@ -0,0 +1,108 @@
//
// 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;
// }
// }
}