Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Profile: shcorp886
About
User Name: shcorp886
Groups: Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Wednesday, November 4, 2009
Last Visit: Monday, March 31, 2014 11:36:53 PM
Number of Posts: 81
[0.03% of all post / 0.01 posts per day]
Avatar
Last 10 Posts
Topic: yesterday infor..
Posted: Monday, June 10, 2013 3:44:53 PM

i just found one the realcode on your previous post,

Static High(1) As Single
Static Low(1) As Single
Static Close1 As Single
If isFirstBar Then
High(1) = Single.NaN
High(0) = Single.NaN
Low(1) = Single.NaN
Low(0) = Single.NaN
Else If Price.DateValue.DayOfYear <> Price.DateValue(1).DayOfYear Then
High(1) = High(0)
High(0) = Price.High
Low(1) = Low(0)
Low(0) = Price.Low
Close1 = Price.Last(1)
Else
High(0) = System.Math.Max(High(0), Price.High)
Low(0) = System.Math.Min(Low(0), Price.Low)
End If
If Single.IsNaN(High(1)) = True Then
Plot = Single.NaN
Else
Plot = (High(1) + Low(1) + Close1) / 3
End If

the high(1) be the yesterday high, low(1) be the yesterday low, and close1 be the yesterday close, right?

 

Topic: yesterday infor..
Posted: Monday, June 10, 2013 3:32:30 PM

hi Bruce,

on realcode, how to get the yesterday low, high, close of current chart symbol. i understand if on daily chart i can use the realcode above to get the yesterday bar value but only 15 minute chart i am geting last bar of yesterday value.

thank you again

 

Topic: yesterday infor..
Posted: Friday, June 7, 2013 2:57:46 PM

thank you Bruce,

now i understand the price.datevalue.day <> price.datevalue910.day that gives me the condition of today and yesterday. am i correct?

 

Topic: yesterday infor..
Posted: Friday, June 7, 2013 1:32:15 PM

hi Bruce,

can you help me to write the realcode for an indicator or the BLOCK

30 minutes chart or 5 minutes chart

i like to plot the constant number of yesterday ending value of one indicator on my chart.

for example, 5 minutes chart, 20 moving average, the value of yesterday ending for the ma is 1600, i want to plot 1600 through  today range on 5 minutes chart; if day before yesterday ma value is 1606 then plot 1606 through the whole day of yesterday, so on..

 

allen

 

Topic: new realcode..
Posted: Friday, March 8, 2013 1:16:11 PM

okay, thank you

that works for me.

Topic: new realcode..
Posted: Friday, March 8, 2013 12:39:29 PM

Hi Bruce,

thank you for the real code, it works great.

I like to ask if I like to plot the lowest point of last 10 period when the crossing occur.

do i change  lowest=minlow(10) only or change both lowest=minlow(10) and lowest=system.math.min(lowest,minlow(10))

 

Topic: new realcode..
Posted: Wednesday, March 6, 2013 11:54:12 AM

Hi Bruce,

I would like to ask for your help to write a realcode indicator.

actually, 2 realcodes (both about the same);

indicator 1: plot the highest point of the price above the 50 moving average and remain the same after current close across below the 50moving average until the current close above the moving average;

indicator 2: plot the lowest point of the price below the 50 moving average and remain the same after current close across above the 50 moving average until the current close below the moving average.

can you also show me how to put both indicators in one  realcode?

thank you

 

Topic: show message
Posted: Friday, February 1, 2013 11:46:29 AM

thank you Bruce,

please show me how to set a label for a bar in a realcode indicator, I just want the current bar number to be show.

 

Topic: show message
Posted: Friday, February 1, 2013 11:28:38 AM

Hi

is there a way to create an indicator that showing the message in huge font size for example, to show the current close of sp500 "1500 sp500" on mid of the chart in font size 40 or bigger (ajustable)?

Thanks

Topic: current price line
Posted: Friday, November 23, 2012 1:52:48 PM

i got it, thanks.

i click on the wrong main chart .latest price.  the one for comparison.

 

Thank you very much.