one bar too late :-( plese help

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #70527 quote
    odin
    Participant
    Veteran

    dear friends, dear nicolas,

    i have an powerfull stock screener i created for my own, to detect long entry with the idea of darly guppy.

    my problem, i think the pro screener does not work correct because in my pro screener list, everytime i´m one bar too late 🙁

    what do i do wrong?

    especially i have i marked in the chart. i wanna see this result, what explain the screenshot 2, but i see it evertytime one week to late 🙁

    c16 = 0 > c15[1]  and c15 > c15[1] and c15[2] > c15[1]
    

    check here is my code to run:

    a = close
    c1 = ExponentialAverage[30](a)
    c2 = ExponentialAverage[35](a)
    c3 = ExponentialAverage[40](a)
    c4 = ExponentialAverage[45](a)
    c5 = ExponentialAverage[50](a)
    c6 = ExponentialAverage[60](a)
    c77 =ExponentialAverage[15](a)
    c7 = c1 > c2 and c2 > c3 and c4 > c5 and c5 > c6 and c77 > c1
    c8 = Average[50](close*volume) > 3000000
    c10 = ExponentialAverage[3](close)
    c11 = ExponentialAverage[5](close)
    c12 = ExponentialAverage[8](close)
    c13 = (c10-c11)*100/c11
    c14 = (c11-c12)*100/c12
    c18 = (c10-c12)*100/c12
    c15 = (c13+c14+c18)/3
    c16 = 0 > c15[1]  and c15 > c15[1] and c15[2] > c15[1]
    
    c17 = ExponentialAverage[30](close)
    c18 = ExponentialAverage[35](close)
    c19 = ExponentialAverage[40](close)
    c20 = ExponentialAverage[45](close)
    c21 = ExponentialAverage[50](close)
    c22 = ExponentialAverage[60](close)
    
    c23 = (c17-c18)*100/c18
    c24 = (c18-c19)*100/c19
    c25 = (c19-c20)*100/c20
    c26 = (c20-c21)*100/c21
    c27 = (c21-c22)*100/c22
    c28 = (c17-c22)*100/c22
    c29 = (c23+c24+c25+c26+c27+c28)/6
    
    
    screener [c7 and c8 and c16] sort by c29 as "long term investors"
    bild1.jpg bild1.jpg bild2.jpg bild2.jpg
    #70530 quote
    odin
    Participant
    Veteran

    at first i thougt, that is when i screen on during the week. but also when i screen only on weekends,

    i never see the latest signals 🙁

    please help me.

    #70582 quote
    Nicolas
    Keymaster
    Master

    Because you are scanning lists you don’t have real time datas (End Of Day = returns results of the previous bar only).

    #70601 quote
    odin
    Participant
    Veteran

    thank you Nicolas for the perfect answer!

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

one bar too late :-( plese help


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
odin @odin Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by odin
7 years, 10 months ago.

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