Help with DPO codes
Hi
Can anyone please help me to convert this code for DPO (detrend price oscillator)? Thanks a lot.
inputs:
Price( Close ),
Length( 250 ) ;
variables:
DPO( 0 ) ;
DPO = Detrend( Price, Length ) ;
if DPO crosses over 0 then
Buy next bar market
else if DPO crosses under 0 then
Sell short next bar market ;
Hi EADeveloper,
I was talking about scripts for Expert Advisor trading. If you could help, it would be great. Thank you very much.
Best
Hi
Can anyone please help me to convert this code for DPO (detrend price oscillator)? Thanks a lot.
inputs:
Price( Close ),
Length( 250 ) ;
variables:
DPO( 0 ) ;
DPO = Detrend( Price, Length ) ;
if DPO crosses over 0 then
Buy next bar market
else if DPO crosses under 0 then
Sell short next bar market ;