View Single Post
  #2 (permalink)  
Old 05-31-2006, 05:44 AM
firedave's Avatar
firedave firedave is offline
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
firedave is on a distinguished road
Quote:
Originally Posted by phoenix
i just seen a forum that has the function of posting mql code into the forum

it's easier and automatically change the color into the Metaedtor-like scheme

this will be more helpful to post the code here without attacthing files

hope this is posible and someone expeert can creat it
I think you could wrap the code with PHP tags. The button is on the right of the editing tools (bold, italic, underline, etc.). Hope this help

Example :
PHP Code:
   if(subTotalTrade()>&& TrailingStop>0)
   {
      
total OrdersTotal();
      for(
cnt=0;cnt<total;cnt++)
      {
         
OrderSelect(cntSELECT_BY_POSMODE_TRADES);

         if(
OrderType()<=OP_SELL &&
            
OrderSymbol()==Symbol() &&
            
OrderMagicNumber()==MagicNumber)
         {
               
subTrailingStop(OrderType());
         }
      }
   } 
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"