PROSCREENER HEIKIN HASHI SOLO LONG

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #112490 quote
    massimogp
    Participant
    Senior

    Buon giorno, dal codice sotto, posso avere il codice HH che cambia colore ma solo per posizioni long? e se volessi associarlo a un -rsi 14 in ipervenduto o al volume che passa la sua  media mobile a 20 gg si può unire nel proscreener o lo si controlla solo dal video? Grazie mille Roberto, buona domenica

     

    #112492 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    // Heikin Ashi setup
    once xOpen = open
    xClose     = (open + close + high + low) / 4
    if barindex > 0 then
        xOpen  = (xOpen + xClose[1]) / 2
    endif
    //xLow       = min(low,min(xClose,xOpen))
    //xHigh      = max(high,max(xClose,xOpen))
    //
    Bullish = xClose > xOpen
    Bearish = xClose < xOpen
    MyRsi = rsi[14](xClose) < 30  //RSI in ipervenduto
    MyVol = volume > average[20,0](volume)   //volume > sua MMS a 20 periodi
    Risultato = 0
    IF Bullish AND Bearish[1] and MyRsi and MyVol THEN
       Risultato = 1                          //da Ribassista a Rialzista
    ENDIF
    SCREENER[Risultato]
    #112539 quote
    massimogp
    Participant
    Senior

    Fantastico Roberto grazie mille…

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

PROSCREENER HEIKIN HASHI SOLO LONG


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
massimogp @massimogp Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by massimogp
6 years, 3 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 11/10/2019
Status: Active
Attachments: No files
Logo Logo
Loading...