Adding Buy and Sell signals to the charts using programming
Forums › ProRealTime English forum › ProBuilder support › Adding Buy and Sell signals to the charts using programming
- This topic has 23 replies, 3 voices, and was last updated 3 years ago by jkadda.
-
-
08/01/2021 at 1:30 PM #174496
Am working on a Bollinger bands idea and auto system where i want to be able to write “Buy” on all points on the charts that buy conditions are met and “Sell” where all sell conditions are met.
I will be most grateful for any help on this issue, Cheers,
08/01/2021 at 3:36 PM #174506There you go:
12345678MyLongConditions = close CROSSES OVER BollingerDOWN[20]MyShortConditions = close CROSSES UNDER BollingerUP[20]IF MyShortConditions THENDrawText("Sell",barIndex, high + range*2,serif,bold,15) coloured(255,0,0,255)ELSIF MyLongConditions THENDrawText("Buy",barIndex, low - range*2,serif,bold,15) coloured(0,128,0,135)ENDIFRETURN08/02/2021 at 12:44 PM #17456908/04/2021 at 9:28 AM #174654Hello Robertogozzi,
I have applied the sample bollinger codes you provided, but no texts are drawn or written on the chart as shown in the attached screenshot.
Also when i create new indicators they are not getting saved after closing the platform . i follow the instructions to save by adding to the chart but is not saving.
I will be most grateful you help
08/04/2021 at 10:54 AM #174657To be added to the chart it MUST be saved, check ProBuilder (the software managing indicators and oscillators) as shown in pic X.
To be visible you need to add it ON rthe price chart, not below, as shown in pic Y:
- click the PRICE tag on the upper left corner of your chart
- select SETTINGS
- once the settings show, selct ADD INDICATOR and choose among those listed (yours will be there under the name you have chosen).
08/04/2021 at 10:01 PM #174687Thanks very much but the save issues still remain .
I followed the link or material you provided “check ProBuilder (the software managing indicators and oscillators) “, but he Save referred to there is about Save platform and template.
There is article or documents on how to save Indicators, even it the programming environment there are many tools like copy, paste, do, undo etc but there is no tool for Saving the programs that have been coded.
Also please i will be glad you put your images in English.
Thanks
08/04/2021 at 10:47 PM #174688When you validate/confirm an indicator it is saved in Probuilder and you can export to any folder of your choice in your PC.
You don’t have to translate what’s in my pics, just click the tab in THAT position on your chart.
You may find these links useful:
https://www.prorealtime.com/en/help-manual/quick-tour
https://www.prorealcode.com/programming-with-prorealtime/
https://m.youtube.com/channel/UC0OEWQSbrDTH2ArVFAzNJkQ
08/05/2021 at 12:12 AM #174691Thanks very much for the response and information.
I read all the links you have provided but none of them explained how to validate/confirm an indicator.
I guess this could be a very simple action but if you could state or explain in practical terms the exact action that must be done to get the new indicator validated or confirmed.
I have attached again the new indicator window ,and kindly tell me what need to be done in this code window to get the indicator saved, and ready to be applied to the charts.
Thanks and regards.
08/05/2021 at 1:33 AM #174693Those links will lead you to videos that explain how to build and save indicators, among many other things.
Click the button “Add indicator to chart” and this will save your code.
Once you have clicked it, does that indicator appear among your indicators?
08/05/2021 at 5:02 AM #174695Hello,
I had already stated i clicked “Add indicator to chart” button many times but it does not not save, instead another window opens (settings) as shown attached.
And even after closing settings windows the indicator does not save.
08/05/2021 at 8:07 AM #174699Is your indicator listed among all the others?
08/05/2021 at 8:19 AM #17470008/05/2021 at 10:00 AM #174704I suggest you hit Ctrl+M to open an assistance ticket with PRT,
08/11/2021 at 6:58 AM #175073Hi Robertogozzi,
Hello,
i have raised technical support ticket in the PRT sine last week but unfortunately response has been very disappointing.
And as at today the IG team has no idea when my issues will be resolved , according to the team they have forwarded my issues to their dev team and have not heard anything from them since.
Please do we have a paid services when i can pay someone to at least use teamviewer and i will share my screen and platform for help.
Perhaps it may be relating to some Settings i have missed or something else.
Regards
08/11/2021 at 8:39 AM #175079There’s no option to tick/clear to enable/disable saving code. It is automatically saved after writing it, even closing the code window will save it.
Your code will only be lost whenever the platfotm or your PC is shut down suddenly. In this case all code written/modified since the last save is lost (I regularly do a Copy & Paste to Notepad++ every 30-60 minutes or export the code to a folder).
If this is not the case, then I’m afraid no connection to your PC will help.
In any case paid programming services are available at https://www.prorealcode.com/trading-programming-services/.
-
AuthorPosts
Find exclusive trading pro-tools on