diff --git a/trailing_star/Trailing_Star_Point-v1.0.mq5 b/trailing_star/Trailing_Star_Point-v1.0.mq5 index 9db6115..065029e 100644 --- a/trailing_star/Trailing_Star_Point-v1.0.mq5 +++ b/trailing_star/Trailing_Star_Point-v1.0.mq5 @@ -27,11 +27,11 @@ int OnInit() StringAdd(content, "Trailing Star v" + VERSION); StringAdd(content, "\r\n"); StringAdd(content, "Entry point: "); - StringAdd(content, entry_point); + StringAdd(content, DoubleToString(entry_point)); StringAdd(content, " points"); StringAdd(content, "\r\n"); StringAdd(content, "Trailing point: "); - StringAdd(content, trailing_point); + StringAdd(content, IntegerToString(trailing_point)); StringAdd(content, " points"); SendNotification(content); diff --git a/trailing_star/Trailing_Star_Price-v1.0.mq5 b/trailing_star/Trailing_Star_Price-v1.0.mq5 index eaf9af9..0ae00bd 100644 --- a/trailing_star/Trailing_Star_Price-v1.0.mq5 +++ b/trailing_star/Trailing_Star_Price-v1.0.mq5 @@ -27,10 +27,10 @@ int OnInit() StringAdd(content, "Trailing Star v" + VERSION); StringAdd(content, "\r\n"); StringAdd(content, "Entry price: "); - StringAdd(content, entry_price); + StringAdd(content, DoubleToString(entry_price)); StringAdd(content, "\r\n"); StringAdd(content, "Trailing point: "); - StringAdd(content, trailing_point); + StringAdd(content, IntegerToString(trailing_point)); StringAdd(content, " points"); SendNotification(content);