Why do you want to write the Symbol in your OrderComment?. Each order already shows you which symbol it belongs to. Regards.
string MyOrderComment() { return OrderSymbol()+" "+EnumToString((ENUM_TIMEFRAMES)Period())+": "+OrderComment(); }
dundale:
Hi everyone,
how I add in my OrderComment the current Symbol and the Timeframe?
How I have to write this line?
You could print out an additional line.
Print(Symbol(),"+",EnumToString(ChartPeriod(0)));
thanks
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi everyone,
how I add in my OrderComment the current Symbol and the Timeframe?
How I have to write this line?