//+------------------------------------+
//| TRUE_SCALPER |
//+------------------------------------+
//
// This is the one used successfully by Jean-François
//
// Designed for M5 but I attached it to M15 and it worked fine.
// long if EMA3>EMA7:::EMA3RSIPos) {RSIPOS=true; RSINEG=false;}
if(RSI=0;cnt--)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if( OrderSymbol()==Symbol() )
{
OrdersPerSymbol++;
}
}
// place new order based on direction
// only if no other orders are open on this Symbol
if(OrdersPerSymbol==0)
{
//ENTRY Ask(buy, long)
if(bullMA3>(bearMA7+p) && RSINEG)
{
SL=Ask-(StopLoss*p);
TP=Ask+(TakeProfit*p);
OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,SL,TP,"BUY "+CurTime(),0,0,White);
bartick=0;
}
//ENTRY Bid (sell, short)
if(bullMA3