Forum

Fuzzy Logic - Open Price Only

I have been testing the expert advisor Fuzzy Logic in the Strategy Tester and I have noticed that it is much more profitable when using the Open Prices Only (OPO) setting. I think this is because of the EA's take profit setting. Obviously in live trading it uses every single tick, so I was wondering

Check if no open trades

I want to edit my Expert Advisor to give a short message on the chart if there are no trades open currently. I know it's something like: if( Some condition ) Comment( "There aren't any trades open now." ); What condition do I need to put there