hobag wrote >>
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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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 ;