Help for graphical indicators development version 10.3
Forums › ProRealTime English forum › ProBuilder support › Help for graphical indicators development version 10.3
- This topic has 41 replies, 13 voices, and was last updated 5 years ago by dan55.
-
-
04/18/2016 at 2:31 PM #5587
Help for graphical indicators development version 10.3
I open this topic up a ‘knowledge base’ for the development of indicators for version 10.3 and new graphics capabilities that it brings.
You will find all new graphics instructions, with examples, in the online documentation in the “GRAPHICAL” section here:
http://www.prorealcode.com/documentation/category/graphical/
If you have trouble or issue specific, you can post them here after this message.
I’ll post here also examples and / or “templates” to create your own indicators.
This thread will also be open in forums other languages, for your information. I’ll post the links here.
1 user thanked author for this post.
08/15/2016 at 4:17 PM #11741Hi Nicolas,
Thanks! I’m actually looking to create 1 simple Indicator (to combine my strategy) to display info like the Spread PIPS, if the current trend is bullish or bearish (accordingly to some of my strategy of course) and perhaps some simple text on the screen to show some other info.
In this way, I can react faster and while looking at the chart, I can fine tune my strategy against maybe 1 year of data manually, and then go for Backtesting again.
However, I notice this is for 10.3… IG only running 10.2.
Do you have any ideas if they are changing or does 10.2 support simple drawings? Trying hard to find the examples.
Cheers!
08/15/2016 at 5:00 PM #1174308/15/2016 at 5:59 PM #11746Hi Nicolas,
thanks for your reply. Yes I had dropped IG an email to check with them also. Doubt would be fast.
Im thinking with 10.3, it definitely adds alot of nice indicators and draw onto the chart for easy reference.
Any idea where you can point me to an example on the color and curves for 10.2? Please… 🙂
08/15/2016 at 7:26 PM #1174702/07/2017 at 9:22 PM #24274IG will change to 10.3 in March.
02/07/2017 at 9:25 PM #24275I am currently using the Demo of 10.3. I did copy Paste one drawline example, but it does not. I don’t get an error, the code is correct, but no line is painted in the chart. Anyone else have this Problem?
02/07/2017 at 9:32 PM #2427702/07/2017 at 9:43 PM #24278Thanks!! I was in a wrong window…now it works!
03/21/2017 at 3:41 PM #29301Hi Nicholas,
I have question about how Drawsegment or DrawLine works ….
If I place a segment or horizontal line manually on a 1 hour chart, the line will display also across lower timframes ie 15min and 5min …
Now , Using drawsegment in an indicator on a 1hour the line displays on the 1 hour chart , however the line does not display across any lower time frame chars.
Is this how it is intended to work , or is there a switch in the syntax I am missing ?
Thanks
03/21/2017 at 3:46 PM #2930403/21/2017 at 4:11 PM #2931803/21/2017 at 4:23 PM #2932003/21/2017 at 5:11 PM #29327Here is the code :
And a screen shot to show you the difference between the 2 timeframes …
As you can see the segment shows on the 1 hour chart , but not the 5 mins .
Also the arrow and circle are drawn manually on the 1 hour chart , and show through onto the 5mins chart
The indicator only runs on the 1 hour chart.
===================================================12345678910111213defparam CalculateOnLastBars = 500defparam drawonlastbaronly = trueBBd = BollingerDown[20](close)BBu = BollingerUp[20](close)IF HIGH > BBu THENDrawsegment(barindex,BBu,barindex-1,BBu)COLOURED(250,0,0)ENDIFIF Low < BBd THENDrawsegment(barindex,BBd,barindex-1,BBd)COLOURED(250,250,0)ENDIFRETURN03/21/2017 at 5:20 PM #29332I think there is a misunderstood from me: If the indicator only run in the 1 hour chart, you will not see anything drawn on the 5 minutes one, like it is the case with a graphic object drawn by hand. An indicator is running only on the chart where it stands.
-
AuthorPosts
Find exclusive trading pro-tools on