VWAP Daily + standard deviation
Forums › ProRealTime forum Français › Support ProBuilder › VWAP Daily + standard deviation
- This topic has 6 replies, 3 voices, and was last updated 4 years ago by Pinkybouh.
Viewing 7 posts - 1 through 7 (of 7 total)
-
-
06/18/2020 at 11:37 AM #13639506/18/2020 at 11:46 AM #13640106/18/2020 at 1:02 PM #13642706/18/2020 at 1:47 PM #136434
Merci j’ai fouiller et combiner les codes avec couleurs, merci de ton avis :
123456789101112131415161718192021222324252627282930//PRC_VWAP intradayif day<>day[1] thend=0elsed=d+1if volume >0 thenVWAP = SUMMATION[d](volume*typicalprice)/SUMMATION[d](volume)endifsd = std[d](abs(typicalprice-vwap))SDup1 = vwap+sdSDlw1 = vwap-sdSDup2 = vwap+sd*2SDlw2 = vwap-sd*2SDup3 = vwap+sd*3SDlw3 = vwap-sd*3SDup4 = vwap+sd*4SDlw4 = vwap-sd*4SDup5 = vwap+sd*5SDlw5 = vwap-sd*5endifif vwap>vwap[1] thencolor = 1elsecolor = -1endifRETURN VWAP coloured by color STYLE(LINE,2) as “VWAP”, SDup1 coloured(255,20,147) STYLE(LINE,2) as “upper 1 STD”, SDlw1 coloured(255,20,147) STYLE(LINE,2) as “lower 1 STD”, SDup2 coloured(127,55,0) STYLE(LINE,2) as “upper 2 STD”, SDlw2 coloured(127,55,0) STYLE(LINE,2) as “lower 2 STD”, SDup3 coloured(102,102,102) STYLE(DOTTEDLINE,2) as “upper 3 STD”, SDlw3 coloured(102,102,102) STYLE(DOTTEDLINE,2) as “lower 3 STD”, SDup4 coloured(102,102,102) STYLE(LINE,2) as “upper 4 STD”, SDlw4 coloured(102,102,102) STYLE(LINE,2) as “lower 5 STD”, SDup5 coloured(0,255,127) STYLE(LINE,2) as “upper 5 STD”, SDlw5 coloured(0,255,127) STYLE(LINE,2) as “lower 4 STD”Edit: code reformaté par la modération, merci d’utiliser le bouton “insert prt code”
06/18/2020 at 2:13 PM #13643906/18/2020 at 4:46 PM #136483voir ce code qui correspond à ce que tu cherches à faire : https://www.prorealcode.com/topic/is-there-any-working-intraday-vwap/#post-116309
06/19/2020 at 10:23 AM #136541 -
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)
Find exclusive trading pro-tools on
Similar topics: