I need an simple button to buy and sell

 

Im a newbie and I need

1-a simple button sell/ buy for my trailing stop ( prototype). I need FAST order place.

2- I need improve trailing stop, to be programed after breaken even be actioned keep a distance from price position.

please , see code prototype below

//+------------------------------------------------------------------+
//|                                                      ProjectName |
//|                                      Copyright 2012, CompanyName |
//|                                       http://www.companyname.net |
//+------------------------
#include <Trade\Trade.mqh>
CTrade trade;

//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
void OnTick()
  {
   double Ask=NormalizeDouble(SymbolInfoDouble(_Symbol,SYMBOL_ASK),_Digits);
   if(PositionsTotal()<1)
   trade.Buy(10.00,NULL,Ask,(Ask-10*_Point),NULL);
   CheckTrailingStop(Ask);

  }
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
void CheckTrailingStop(double Ask)
  {
   double SL =NormalizeDouble(Ask-10*_Point,_Digits);
   for(int i=PositionsTotal()-1; i>=0;i--)
     {
      string symbol=PositionGetSymbol(i);

      if(_Symbol==symbol)
        {
         ulong PositionTicket=PositionGetInteger(POSITION_TICKET);
         double CurrentStopLoss=PositionGetDouble(POSITION_SL);
         if(CurrentStopLoss<SL)
           {
         trade.PositionModify(PositionTicket,(CurrentStopLoss+40*_Point),0);}
           
        }
     }
  }
Reason: