OutsideBar screener

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #73247 quote
    HassanHassan
    Participant
    Average

    Bonjour,

     

    voici le code d’un indicateur qui m’indique une flèche pour une outsidebar :

     

    SignalbarHeight=5
     
    if range>=SignalbarHeight*pipsize then
    if high>high[1] and close<low[1] then
    bear=1
    bull=0
    elsif low<low[1] and close>high[1] then
    bull=1
    bear=0
    else
    bear=0
    bull=0
    endif
    else
    bear=0
    bull=0
    endif
    offset=AverageTrueRange[14](close)/2
    if bear then
    DRAWARROWDOWN(barindex, high+offset) coloured(255,0,0)
    elsif bull then
    DRAWARROWUP(barindex, low-offset) coloured(0,255,0)
    endif
     
    return
    

    J’aimerais avoir un screener qui me permette de trouver toutes les OutsideBar en TF 1H (par exemple) sur le forex ou en 5 min sur les index. Merci ! 😀

    #73255 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Medrci de mettre à jour le pays dans votre profil.

    Voilà:

    SignalbarHeight=5
     
    if range>=SignalbarHeight*pipsize then
       if high>high[1] and close<low[1] then
          bear=1
          bull=0
       elsif low<low[1] and close>high[1] then
          bull=1
          bear=0
       else
          bear=0
          bull=0
       endif
    else
       bear=0
       bull=0
    endif
    //offset=AverageTrueRange[14](close)/2
    if bear then
       //DRAWARROWDOWN(barindex, high+offset) coloured(255,0,0)
    elsif bull then
       //DRAWARROWUP(barindex, low-offset) coloured(0,255,0)
    endif
    x = Bull OR Bear
    SCREENER [x] (x AS "OutBAR")
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

OutsideBar screener


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Hassan @hassan_said Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
8 years, 4 months ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 06/14/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...