MACD ToS Screener. Help to Convert

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #97712 quote
    hcavalos
    Participant
    New

    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.

    Outcome-of-the-screener.pdf
    #98124 quote
    Nicolas
    Keymaster
    Master

    Screener 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).

    #98209 quote
    hcavalos
    Participant
    New

    Hi 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 > 5

    SCREENER [ vol and precio and c1 and c2 and c3 and tt1 and tt2 and tt3] (CPM as “cpm”)

    #98216 quote
    swapping
    Participant
    Master
    // action Prix du commerce Throught
    
    TT1 = (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èle 
    maximo = highest[252] (high) 
    minimo = lowest[252] (low) 
    CPM = (maximo / Minimo) * 1
    
    // supplémentaires Filtrers 
    Vol = moyenne[60] (Volume) > 250000 
    Precio = close > 5
    
    SCREENER [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 😉

    Nicolas thanked this post
    #98735 quote
    Nicolas
    Keymaster
    Master

    If you managed to code the 3 different screeners, please post them here so I’ll be able to show how to put them all together.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

MACD ToS Screener. Help to Convert


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
hcavalos @hcavalos Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by Nicolas
6 years, 10 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 05/05/2019
Status: Active
Attachments: 1 files
Logo Logo
Loading...