Forum

DataFrame for C++ Library in mql5

Just a suggestion to include this lib in mql5: https://github.com/hosseinmoein/DataFrame

Wrong logic validation

Why is not giving true with two true results? Print((PositionsTotal() == 0)); Print((PositionsTotal() == 1)); Print((enPositionType == POSITION_TYPE_BUY )); Print(((PositionsTotal() == 1) && (enPositionType == POSITION_TYPE_BUY))); 2021.09.14 06:30:43.688 2021.09.01 04:45:00 false 2021.09.14