Coding Indicator Prorealtime

This is a discussion on Coding Indicator Prorealtime within the Trading Software forums, part of the Commercial category; I created a 'Long Fractal' indicator. The only problems are, it doesn't generate a blob on the price chart (or ...

LinkBack Thread Tools Search this Thread
Old Apr 23, 2009, 10:15am   #9
dod's Avatar
Joined Jan 2003

I created a 'Long Fractal' indicator. The only problems are, it doesn't generate a blob on the price chart (or paint the bar in some way) but appears as an indicator beneath; and it doesn't show the fractal bar itself - that is, the middle bar - but the last bar that forms the Fractal.

This is the code I used:

LongFractal = (high[2]>high[3] and high[2]>high[4] and high[2]>high[1] and high[2]>high)

IF LongFractal THEN


RETURN result AS "Detection of LongFractal"

I'm attaching a chart to show how it looks. If anyone has any ideas about creating a 'paint bar' indicator instead, or about shifting the indicator I have two bars to the left, to make it easier on the eye, that would be great.
Attached Thumbnails
All flesh is as grass
dod is offline   Reply With Quote
Old Apr 23, 2009, 11:18am   #10
dod's Avatar
Joined Jan 2003
Originally Posted by GammaJammer View Post
Surely the RSPCA will have something to say about that. Isn't that like bear baiting?
Aren't crows vermin? In which case, anything goes
All flesh is as grass
dod is offline   Reply With Quote
Old May 23, 2009, 5:46am   #11
1 Posts
Joined Nov 2008
ProRealtime coding help

I'm trying to get something new to work in ProRealtime but I'm stumped and I've had no reply to my plea for help from ProRealtime.

Can one of the resident experts help please?

I'm trying to get Ehler's Cyber Cycle with inverse Fisher Transform to work but it seems that the PREV function that works fine in Metastock may be the issue.

This is the code I've got

pr= (High+Low)/2
a= 0.07
sp= (pr+(2*pr[1])+(2*pr[2])+pr[3])/6
cycle = (1-(.5*a))*(1-(0.5*a))*(sp-(2*sp[1])+sp[2]) + 2*(1-a)*cycle[1] - (1-a)*(1-a)*cycle[2]
return CCIFT

It is the 'cycle=' line that is rejected. Any help would be appreciated.

casseldale is offline   Reply With Quote
Old Sep 23, 2009, 11:07pm   #12
1 Posts
Joined Sep 2009
anyone help with a code for prorealtime?

hi i'm looking for a code that can work on pro screener which:
screens for the higher high of two points between time x and time y , alternatively another that screens for the lower high of two points between time x and y.
basically it should return a trend identified by you between two time points also identified by you. eg using 5min chart give all stocks whose highs trended up between bars 5:25 -5:55 .
i have tried it in many ways and still it can't come.
thanks in advance for any responses
relepast is offline   Reply With Quote
Old Feb 19, 2011, 12:18pm   #13
5 Posts
Joined Dec 2009
Re: Coding Indicator Prorealtime

I need a great deal of help please. A proscreener would be an ideal tool for what I need (although a probacktest might give historical results for the system on any particular pair) this way any number of instruments could be searched.
So more details, for the purposes lets imagine we are using a short position. What I would be searching for is 2 zigzag points on price where the 2nd point is higher than or eqaul to the 1st (for zigzag I use req variation = 14, % or pt = pt and (h+l+c*2)/4), at these same 2 points I would look for the 2nd RSI point to be lower than or equal to that of the 1st, hence the divergence (I also use (h+L+c*2)/4 for RSI). Where I meet a stone wall is this, a divergence can build up over many candles or very few, it is setting the proscreener/indicator or whatever to identify the divergence regardless of how many candles it takes.
Let me point you to a youtube video which migh describe my needs better, the entry point is immaterial, it is the identification of the potential entry I am most interested in.

I do appreciate your help, many thanks.

saidtomuch is offline   Reply With Quote
Old May 8, 2012, 7:10pm   #14
Joined Mar 2010
Re: Coding Indicator Prorealtime

Hey GammaJammer

I hope that you don't mind me dropping you a quick line

Am just trying to work out how to code the following simple proscreener in Prorealtime and wondered if you might be good enough to point me in the right direction if its not an inconvenience

Am just looking to get a proscreener that shows forex pairs, indices etc that have consistent bullish or bearish readings on a Parabolic SAR indicator for the timeframes of Weekly, Daily, 4 hourly and 1 hourly

Any advice would be greatfully received

Best wishes

sunbeam2010 is offline   Reply With Quote
Old Sep 19, 2012, 7:21pm   #15
Joined Jul 2004
Re: Coding Indicator Prorealtime

Is it possible to build an indicator for Point and Figure that gives +1 if X goes above previous high of X (a PnF buy signal)

and -1 if 0 go under previous low of 0 (a PnF sell signal?
kalott is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
TheRumpledOne is now coding FREE indicators for MT4 TheRumpledOne Trading Software 207 Nov 7, 2016 4:25pm
Prorealtime - help with programming indicator DaxTrader Trading Software 4 Jan 30, 2010 5:31pm
Help on coding Fractal DImensional Index hypernoob Trading Software 3 Jul 6, 2008 11:08pm
Metastock Coding Problem z482493 Trading Software 0 May 26, 2005 4:31pm
PnF coding issue GreyingSurfer Indices 22 Mar 7, 2003 9:02pm

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