phipho / Publications
Forum
Function "TrailingStop" is not referenced and will be removed from exp-file
//+------------------------------------------------------------------+ //| Moving Average.mq4 | //| Copyright © 2005, MetaQuotes Software Corp. | //| http://www.metaquotes.net/ |
help me trailing stop of buy sell stop
void PlaceOrder( int iSignal){ int iTicket; double op1=Ask+BuyStop* Point ; double op2=Bid-SellStop* Point ; if (iSignal == 1 ) { iTicket= OrderSend ( Symbol (),OP_BUYSTOP,dLots, op1, 3 ,op1-iStopLoss* Point ,op1+iTakeProfit* Point , "My First EA" ,iMagicNumber, 0 ,Green);
how i can find idicators
ma14 = iMA ( NULL , 0 , 14 , 0 , MODE_EMA , PRICE_CLOSE , 0 ); if i want add indicator Iichimoku or IADX how i can add Extreme_Spike and MA_Crossover_Histogram how i can find
orderclose be error
void PlaceOrder( int iSignal){ int iTicket; if (iSignal == 1 ) { iTicket= OrderSend ( Symbol (),OP_BUY,dLots,Ask, 3 ,Bid-iStopLoss* Point ,Ask+iTakeProfit* Point , "My First EA" ,iMagicNumber, 0 ,Green); if (iTicket> 0 ){ if ( OrderSelect
i want to consecutive order
//+------------------------------------------------------------------+ //| MyFirstEA.mq4 | //| //| //+------------------------------------------------------------------+ #property
i don't know how to orderclose
// check if lines have crossed if ( ma7 > ma14 && ma7 > ma21 && ma7 > ma49 && ma7 > ma70 ) siCurrentDirection = 1 ; //up if (ma7 < ma14 && ma7 < ma21 && ma7 < ma49 && ma7 < ma70 ) siCurrentDirection = 2 ; //down if ( ma7 > ma70 ) OrderClose(OrderTicket(),OrderLots(),Bid, 3 ,White);
I want to ask about trading condition
// check if lines have crossed if ( Close[ 0 ]> Open[ 0 ]&& Close[ 1 ]> Open[ 1 ] ) siCurrentDirection = 1 ; //up if ( Close[ 0 ]< Open[ 0 ]&& Close[ 1 ]< Open[ 1 ] ) siCurrentDirection = 2 ; //down I want to Order Buy went have double Green Bar and Sell went have two Red Bar i write this but
how i can find idicators
ma14 = iMA ( NULL , 0 , 14 , 0 , MODE_EMA , PRICE_CLOSE , 0 ); if i want add indicator inchimoku or ADx Iichimoku or IADX how i can add
how put one order if have signal
//+------------------------------------------------------------------+ //| phiiiiiiiiiiiii.mq4 | //| Copyright 2012, MetaQuotes Software Corp. | //| http://www.metaquotes.net |