last preparation ...

This commit is contained in:
2024-12-13 05:47:05 +03:30
parent 9a4281b99e
commit fe54432fa2
9 changed files with 104 additions and 13 deletions
+42
View File
@@ -7722,6 +7722,27 @@ double GetEntry(
//
return result;
}
double GetEntry(
string mSymbol = NULL, // Trading Symbol
ENUM_X_DIRECTION type = X_DIRECTION_BULLISH // Get entry price for Which direction trade ...
)
{
//
double result = 0;
//
mSymbol = NormalizeSymbol(mSymbol);
//
result =
IsBullish(type)
? GetAsk(mSymbol)
: GetBid(mSymbol);
result = NormalizePrice(result, mSymbol);
//
return result;
}
//
// Retrieve Exit Price ...
@@ -7746,6 +7767,27 @@ double GetExit(
//
return result;
}
double GetExit(
string mSymbol = NULL, // Trading Symbol
ENUM_X_DIRECTION type = X_DIRECTION_BULLISH // Get entry price for Which direction trade ...
)
{
//
double result = 0;
//
mSymbol = NormalizeSymbol(mSymbol);
//
result =
IsBullish(type)
? GetBid(mSymbol)
: GetAsk(mSymbol);
result = NormalizePrice(result, mSymbol);
//
return result;
}
//
// Get 1 Pip in Price Value ...