Change entire background color on trigger
Forums › ProRealTime English forum › ProBuilder support › Change entire background color on trigger
- This topic has 9 replies, 5 voices, and was last updated 2 years ago by Wolf.
Viewing 10 posts - 1 through 10 (of 10 total)
-
-
05/13/2021 at 10:03 PM #16963305/13/2021 at 10:24 PM #169634
This a custom version of RSI:
1234567MyRSI = Rsi[14](close)if MyRSI >= 50 THENbackgroundcolor(0,255,0,20)ELSEbackgroundcolor(255,0,0,30)ENDIFRETURN MyRSI AS "Rsi"05/14/2021 at 8:04 AM #16964606/22/2022 at 8:12 PM #19589006/23/2022 at 11:35 AM #195943Yes:
12345If close > X then//set a background colourElse//set a different background colourEndif06/24/2022 at 11:21 AM #196007Hi Roberto,
I am really bad with coding, I wonder if you can help me.
While trading on a 5 min chart using Heikin Ashi candlesticks, I would like to plot on chart a background color that matches the color of the price candle sticks as they form.. is there a way to achieve this or at least plot the background matching the colour of previous candle color closure?
Thanks a lot
W 🙂
06/24/2022 at 2:40 PM #196014HA BackGroundColor12345678910111213141516//Heikin AshiIf BarIndex = 0 thenHAClose = TotalPriceHAOpen = (Open + Close)/2ElseHAClose = TotalPriceHAOpen = (HAOpen[1] + HAClose[1])/2EndIfIf HAClose >= HAOpen thenBackGroundColor(0,255,0,50)ElseBackGroundColor(255,0,0,50)EndIfReturn2 users thanked author for this post.
06/24/2022 at 3:11 PM #19601806/24/2022 at 3:53 PM #19602706/24/2022 at 6:46 PM #196049 -
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
Find exclusive trading pro-tools on
Similar topics: