Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 7/1/2009 Posts: 7
|
Hello,Does anyone can translate the following code from metastock into Realcode ?It is an indicator to gauge the intraday strength of the bullish and bearish candlestick.Repulse:Mov(((3*C-(2*L)-O)/CLOSE)*100,5,E) -Mov(((O+(2*H)-(3*C))/CLOSE)*100,5,E) Moving average Repulse:3*Mov( Fml( "Repulse") ,40,E)Many thanks
|
|
Administration
Joined: 9/18/2004 Posts: 3,522
|
Can you give us the details of the formula in plain english?
Ken Gilb (Kuf) Chief Software Engineer - Worden Brothers Inc. Try/Catch - My RealCode Blog
|
|
Registered User Joined: 12/31/2005 Posts: 2,499
|
.Repulse:
Mov(((3*C-(2*L)-O)/CLOSE)*100,5,E) -Mov(((O+(2*H)-(3*C))/CLOSE)*100,5,E)
Repulse is 5 period XAvg ((3*Price.close - (2*price.low))/price.close*100) -
5 period XAvg ((Price.open + (2*price.high)-(3*price.close))/Price.close*100)
Moving average Repulse:
3*Mov( Fml( "Repulse") ,40,E)
3 * 40 period XAvg of ( Repluse above)
|
|
Registered User Joined: 7/1/2009 Posts: 7
|
I think jas501 is right about the formula but since I'm starting to learn realcode, I have no knowledge on how to write a formula.Does anyone be kind and post the formula "ready to paste into stockfinder" ?
|
|
Guest-1 |