Prorealtime - help with programming indicator

This is a discussion on Prorealtime - help with programming indicator within the Trading Software forums, part of the Trading Tools category; Hi, I've been trying to programme a simple Inside bar indicator, which highlights inside bars on whatever time frame you ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Dec 8, 2005, 5:44am   #1
Senior Member
 
DaxTrader's Avatar
 
Member Since May 2003
Default Prorealtime - help with programming indicator

Hi, I've been trying to programme a simple Inside bar indicator, which highlights inside bars on whatever time frame you are looking at.

So far, I can't make the programme accept the code when I validate it.

c1= high(1) < high(2)

c2= low(1) > low(2)

screener ( c1 and c2)

thanks in advance for any help

__________________
Markets can be beaten, but not all the time
DaxTrader is offline   Reply With Quote
Old Dec 8, 2005, 7:21am   #2
Senior Member
 
SvenFoster's Avatar
 
Member Since Dec 2003
Default Re: Prorealtime - help with programming indicator

Quote:
Originally Posted by DaxTrader
Hi, I've been trying to programme a simple Inside bar indicator, which highlights inside bars on whatever time frame you are looking at.

So far, I can't make the programme accept the code when I validate it.

c1= high(1) < high(2)

c2= low(1) > low(2)

screener ( c1 and c2)

thanks in advance for any help

DT I havn't used the screener but I think the condition needs to be in [ ] the () is for a an indicator value or sort criteria like the current RSI value or something... i.e a magnitude. and is optional....
Also the low/high need [ ] brackets not ( ) ..... have fun(Not tested)

Code:
 
c1= high[1] < high[2]
 
c2= low[1] > low[2]
 
screener[c1 and c2]( RSI[14](close) )

best check though
Sven
__________________
Can't get motiviated.

Last edited by SvenFoster; Dec 8, 2005 at 7:27am. Reason: missed info
SvenFoster is offline   Reply With Quote
Old Dec 8, 2005, 9:02am   #3
Senior Member
 
DaxTrader's Avatar
 
Member Since May 2003
Smile Re: Prorealtime - help with programming indicator

DaxTrader started this thread thanks, got it working with a couple of alterations

REM inside bar

c1= high[1] < high [2]

c2= low[1] > low[2]

insidebar= c1 and c2

return insidebar
__________________
Markets can be beaten, but not all the time
DaxTrader is offline   Reply With Quote
Old Dec 8, 2005, 9:10am   #4
Senior Member
 
SvenFoster's Avatar
 
Member Since Dec 2003
Default Re: Prorealtime - help with programming indicator

Quote:
Originally Posted by DaxTrader
thanks, got it working with a couple of alterations

REM inside bar

c1= high[1] < high [2]

c2= low[1] > low[2]

insidebar= c1 and c2

return insidebar
doh!! I should have read your post closer you did say Indicator, it was the screener cmd that threw me.

hope it makes you money.
__________________
Can't get motiviated.
SvenFoster is offline   Reply With Quote
Old Jan 30, 2010, 11:31am   #5
Senior Member
 
Da.DesiTrader's Avatar
 
Member Since Sep 2009
Default Re: Prorealtime - help with programming indicator

c1= high[1] < high[2]

c2= low[1] > low[2]

screener[c1 and c2]


works as in doesnt give an error, but its showing me those pairs for which there was an inside bar on the candle before and how been broken on the latest candle.

If you change 1s to 0, and 2s to 1, then it will show if current bar is an inside bar.
__________________
_______________________________

Da.DesiTrader's FX Journal using Chart Patterns:
http://www.trade2win.com/boards/trad...-patterns.html

London - The City / CanaryWharf Traders Social (organised monthly):
http://www.trade2win.com/boards/t2w-...rs-social.html
Da.DesiTrader is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
ProRealTime Doover Trading Software 24 Aug 7, 2009 1:05pm
ProRealTime.com Contact? Doubled600 Trading Software 9 Mar 27, 2009 10:47am
prorealtime probs Lightning McQueen Trading Software 2 May 12, 2007 11:47am
www.prorealtime.com programming language RISTO167 Trading Software 9 Apr 11, 2007 5:50am
prorealtime users forum dentist007 Trading Software 2 Jul 14, 2005 3:25pm