Coppock curve in 3 timeframes
Forums › ProRealTime English forum › ProScreener support › Coppock curve in 3 timeframes
- This topic has 14 replies, 2 voices, and was last updated 6 years ago by Nicolas.
-
-
02/07/2018 at 4:17 AM #61822
Hi everyone,
I coded my idea of screening in different timeframes of same slope direction of coppock curve indicator(in 3 timeframes, coppock curve slope be same. upward or downward!). the problem is that some detected markets had not meet all conditions. sometimes in 1 timeframe the slope direction is different. i used 2 methods to code as i mentioned below.
my coppock curve indicator is according to the library of this website.at the first code, used ROC[1] of coppock curve to find the slope.
at second code, compared the value of coppock curve than previous bar same value to see if downward or upward.
as can be seen in the picture, the eur/gbp detected but in 4 hour timeframe, the slope of coppock curve is in different direction than Daily and weekly time frame.
12345678910111213141516171819202122232425//Cop4WD ROC v.1.0.0timeframe(4h)COP4N= CALL "Coppock curve"COP4=ROC[1](COP4N)c1=cop4>0c2=cop4<0c7=cop4N<0c8=cop4N>0timeframe(daily)COPDN= CALL "Coppock curve"COPD=ROC[1](COPDN)c3= CopD>0c4=CopD<0timeframe(weekly)COPWN= CALL "Coppock curve"COPW=ROC[1](COPWN)c5=copw>0c6=copw<0C9=c1 and c3 and c5 and c7C10=c2 and c4 and c6 and c8screener[C9 OR C10]123456789101112131415161718192021//Cop4WD v.1.1.0timeframe(4h)cop4= CALL "Coppock curve"c1=cop4>cop4[1]c2=cop4<cop4[1]c7=cop4[1]<0c8=cop4[1]>0timeframe(daily)CopD = CALL "Coppock curve"c3= CopD>CopD[1]c4=CopD<CopD[1]timeframe(weekly)copW = CALL "Coppock curve"c5=copw>copw[1]c6=copw<copw[1]screener[c1 and c3 and c5 and c7]screener[c2 and c4 and c6 and c8]Kindly, advise!
02/07/2018 at 11:15 AM #6184402/07/2018 at 2:42 PM #6186912345a = ROC[14](close)b = ROC[11](close)coppock = weightedaverage[10](a+b)RETURN coppock as "Coppock curve"my coppock curve
02/07/2018 at 2:46 PM #61870with “timeframe(4 hours)” already tested. there is same fake out result.
02/08/2018 at 3:59 AM #61941Dear Nicolas,
Please look at the results today. those are totally fake outs. actually, this screener was working pretty good in last month but there was few fake outs but recently show all fake result. i can ignore fake results but i am afraid if it doesn’t show genuine results. and also as a programmed screener shouldn’t have such fake outs.
Please help to refurbish this Idea!
with thanks.
02/08/2018 at 10:21 AM #61968You are right, values are not the same between the ones called into ProScreener and the ones shown in ProBuilder. Some indicators are calculated differently between the 2, but here it is only a ROC and a WMA, so I don’t understand where is the trouble … Please send a report with the attached code and a reference to this topic with the console inside the platform (CTRL+M). I’ll do the same.
1234567891011121314151617181920212223//Cop4WD v.1.1.0timeframe(4 hours)a4 = ROC[14](close)b4 = ROC[11](close)cop4 = weightedaverage[10](a4+b4)//cop4= CALL "Coppock curve"c1=cop4>cop4[1]c2=cop4<cop4[1]c7=cop4[1]<0c8=cop4[1]>0timeframe(daily)CopD = CALL "Coppock curve"c3= CopD>CopD[1]c4=CopD<CopD[1]timeframe(weekly)copW = CALL "Coppock curve"c5=copw>copw[1]c6=copw<copw[1]screener[(c1 and c3 and c5 and c7) or (c2 and c4 and c6 and c8)] (copd)02/08/2018 at 11:43 AM #61986I reported just now. so how can i get reply? how they contact me?
02/08/2018 at 12:08 PM #6199802/08/2018 at 12:14 PM #62002Dear Nicloas,
I postponed screening to one bar behind and it worked properly. it shows no fake out. also i tried for only 2 TFs and it shows few markets that all having same direction at the 4hour and daily timeframe. it can only help diagnosis of the issue but not workable for me as it is giving delayed detection. anyway, i posted new code as per below:
123456789101112131415161718192021222324252627//Cop4WD v.1.1.1timeframe(4 hours)a4 = ROC[14](close)b4 = ROC[11](close)cop4 = weightedaverage[10](a4+b4)//cop4= CALL "Coppock curve"c1=cop4[1]>cop4[2]c2=cop4[1]<cop4[2]c7=cop4[1]<0c8=cop4[1]>0timeframe(daily)ad = ROC[14](close)bd = ROC[11](close)copd = weightedaverage[10](ad+bd)c3= CopD[1]>CopD[2]c4=CopD[1]<CopD[2]timeframe(weekly)aw = ROC[14](close)bw = ROC[11](close)copw = weightedaverage[10](aw+bw)c5=copw[1]>copw[2]c6=copw[1]<copw[2]screener[(c1 and c3 and c5 and c7) or (c2 and c4 and c6 and c8)]02/08/2018 at 12:53 PM #6200902/08/2018 at 1:07 PM #62013I tested this hint with other same codes but it shows really unstable. i just give this hint if maybe help for diagnosis. i will keep testing if it is workable in long run and hope it would be resolved!
regarding market list, i only tried on my predefined list including mini markets and Currencies list including all forex list. when I chose share markets screener need daily TF or maybe some other requirements to operate for IG clients.
02/09/2018 at 5:00 AM #62092Now I can surely say, the method to delay screening 1 bar behind really NOT work too.
02/12/2018 at 11:35 AM #6239302/13/2018 at 8:54 AM #62523so next update for Mac OS would be when roughly?
02/13/2018 at 9:13 AM #62524 -
AuthorPosts
Find exclusive trading pro-tools on