MACD ToS Screener. Help to Convert
Forums › ProRealTime English forum › ProScreener support › MACD ToS Screener. Help to Convert
- This topic has 4 replies, 3 voices, and was last updated 5 years ago by Nicolas.
-
-
05/05/2019 at 1:03 AM #97712
Good evening.
I need to convert my screener from ToS (also I have it in TC2000) , i would like to try this plataform.
Bascially my strategy use some technical and fundamental structure.
* Technical. I use 2 MACD , the first one for short term trends (3,6, 20) and the sencond one for long term trend (50,10,9). Additionally when both MACD confirm some patter I need to find some specifcs Price action patters in order to set my entries.
* Fundamental: I use some parameters like it is called CPM in the file attached that is the ration between 52WHIhg/52WLow that should be greather than 2, the shares floats, and the average daily volumen.
Base on both i decide the entry or not. This is for long or short. I am including only the long possition.
I am enclosing a file with a screenshot of the screener in the other plataform how it looks like and the criteria to find with the MACD or the Price action.
Help me to convert this ones so I could understand the code here in Prorealtime, the others one I would like to try by myself in order to learn.
05/10/2019 at 7:39 AM #98124Screener related topic should be posted in the screener forum. English topic should also be posted in the english forum! 😉
So, according to the PDF file, there is the MACD condition and then 3 different price action setup. How do we combine them?
Should we do 3 different screeners or combine all 3 price action setup into 1 screener? (the sorted results will be made with a number for the price action pattern found).
05/10/2019 at 10:49 PM #98209Hi Nicolas Thanks for your reply. Sorry I was in the bad forum. I was touching and using the assistance and I think I could made the code.
I wanna to combine all together, find stocks with some conditions of the MACD and that could have any of the price action (any of the 3) and sorted by the variable that I created called CPM that is the MAX 1 Year/Min 1 Year. (not matter the time frame that I use, daily or weekly, I suposse that in the code below just I change the qyt to 52 bars)
What I could not find the way is to combine the 3 price action pattern together in 1 single scanner, I could have 3 scanner separately but I would like to have just 1. For example below I copy what I did with the fist price action. Help me please to have all together.
//Price Action Trade Throught
TT1 = (high < high[1])
indicatorTT1 = ExponentialAverage[18](close)
TT2 = (close > indicatorTT1)indicatorTT2 = ExponentialAverage[18](close)
TT3 = (close[1] < indicatorTT2[1])// MACD Window of Opportunity
indicator1 = MACDline[3,6,20](close)
c1 = (indicator1 < 0)indicator2 = ExponentialAverage[20](MACDline[3,6,20](close))
c2 = (indicator2 > 0)indicator3 = MACDline[50,100,9](close)
indicator4 = ExponentialAverage[9](indicator3)
c3 = (indicator3 > indicator4)// CPM Model
maximo =highest[252](high)
minimo=lowest [252](low)
CPM=(maximo/minimo)*1//Additional Filtrers
Vol= Average[60](Volume) >250000
Precio=close > 5SCREENER [ vol and precio and c1 and c2 and c3 and tt1 and tt2 and tt3] (CPM as “cpm”)
05/11/2019 at 6:29 AM #98216Code PRT Button is your friend12345678910111213141516171819202122232425262728293031// action Prix du commerce ThroughtTT1 = (high < high[1])indicatorTT1 = ExponentialAverage[18] (close)TT2 = (close > indicatorTT1)indicatorTT2 = ExponentialAverage[18] (close)TT3 = (close[1] < indicatorTT2[1])// MACD fenêtre d'opportunitéIndicateur1 = LigneMACD[3,6,20] (close)c1 = (Indicateur1 <0)Indicateur2 = ExponentialAverage[20] (LigneMACD[3,6,20] (close))c2 = (Indicateur2 > 0)indicator3 = LigneMACD[50,100,9](close)indicator4 = ExponentialAverage[9] (indicator3)c3 = (indicator3 > indicator4)// CPM Modèlemaximo = highest[252] (high)minimo = lowest[252] (low)CPM = (maximo / Minimo) * 1// supplémentaires FiltrersVol = moyenne[60] (Volume) > 250000Precio = close > 5SCREENER [vol et precio et c1 et c2 et c3 et TT1 et TT2 et TT3] (CPM as "cpm")Hello hcavalos [Insert PRT code] is your friend 😉
1 user thanked author for this post.
05/17/2019 at 1:28 PM #98735 -
AuthorPosts
Find exclusive trading pro-tools on