Old Marks

 

Hi I would like to get this to work in Metratrader 4 can anyone help? 

Basically I want to back test and mark the chart with an x when the conditions are meet.

 

Thank You,

 

Raymond Minardi

rminardi1@verizon.net

 

 

if iMA(1,MODE_EMA,0) > iMA(1,MODE_EMA,2)
then Begin
 
SetArrow(CurTime,Bid,SYMBOL_STOPSIGN,Blue); 

SetText(CurTime, High+(5*Point), When, Blue);
      
end;
 

//Short
 
//Retrace Exit
if iMA(1,MODE_EMA,0) < iMA(1,MODE_EMA,2)
then begin
 
SetArrow(CurTime,Ask,SYMBOL_STOPSIGN,Fuchsia);
 
end; 

 
You'll want to study Object Functions.
 

Ya that does not help?  Does anyone know what the update code would be?

 
Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.
Reason: