Skip to content

Commit 92c8508

Browse files
committed
update FindStandardSymbol()
1 parent 0658688 commit 92c8508

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mql40/include/rsf/stdfunctions.mqh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,7 @@ string FindStandardSymbol(string symbol, bool strict = false) {
931931
else if (StrEndsWith(_symbol, "_AVG")) _symbol = StrLeft(_symbol, -4);
932932
else if (StrEndsWith(_symbol, "^" )) _symbol = StrLeft(_symbol, -1);
933933
else if (StrEndsWith(_symbol, "." )) _symbol = StrLeft(_symbol, -1);
934+
else if (StrEndsWith(_symbol, ".a" )) _symbol = StrLeft(_symbol, -2);
934935
else if (StrEndsWith(_symbol, ".m" )) _symbol = StrLeft(_symbol, -2);
935936
else if (StrEndsWith(_symbol, ".pro")) _symbol = StrLeft(_symbol, -4);
936937
else if (StrEndsWith(_symbol, ".r" )) _symbol = StrLeft(_symbol, -2);

0 commit comments

Comments
 (0)