Hide the Code and limit date for demo versión.
Forums › ProRealTime English forum › ProOrder support › Hide the Code and limit date for demo versión.
- This topic has 13 replies, 5 voices, and was last updated 3 years ago by Monobrow.
Tagged: copy, duplicate, duplicating, export, exporting, protect, protection
-
-
08/02/2020 at 12:39 AM #14063708/02/2020 at 8:31 AM #140639
This is a strategy that expires on Dec. 31st 2020:
1234567Cond = close CROSSES OVER Average[20]If Date > 20201231 ThenCond = 0EndifIf Cond and Not OnMarket ThenBuy 1 contract at MarketEndifBut strategies cannot be protected from being read, modified or duplicated.
Indicators can, instead. That’s why the workaround is to let an indicator do the setup and set conditions, so that a strategy only has to CALL it to know whether to enter at market or not. This allows anyone to read the strategy (which actually does nothing but buying and selling), while the core (the idea behind the strategy) is protected within the indicator.
The indicator (named MyIndicator), to be later protected, out of the above strategy is:
12345Cond = close CROSSES OVER Average[20]If Date > 20201231 ThenCond = 0EndifReturn CondThe strategy will simply be:
1234Cond = CALL MyIndicatorIf Cond and Not OnMarket ThenBuy 1 contract at MarketEndifTo protect the indicator you have to export it to an ITF file that cannot be modified (it’s an option when exporting it). You can also let it be imported an unlimited number of times or just once.
4 users thanked author for this post.
08/02/2020 at 3:05 PM #14065408/02/2020 at 3:48 PM #140657Currently only indicators can be protected.
It is rumored that PRT are working on some improvements about protection and licensing.
08/02/2020 at 4:04 PM #14065808/03/2020 at 8:13 AM #14069508/03/2020 at 2:19 PM #140734Just to be sure, if I wasn’t wrong, I think the market place is more than just a rumor, rumor for me is nothing committed, no plan, no future, and you hear it from side channel. But marketplace as I follow, Nicolas already worked on it, I think he explained also due to Covid-19, some delays may happen. Probably we just need to give more time and patience to the development team. I would rather wait to be sure than sorry in such financial world 🙂
08/03/2020 at 9:38 PM #14079502/23/2021 at 2:27 PM #162437To protect the indicator you have to export it to an ITF file that cannot be modified (it’s an option when exporting it). You can also let it be imported an unlimited number of times or just once.
Quick question on this…
if someone gives you an .itf with expiry, can you tell when it expires? / how long is left? Thanks!
02/23/2021 at 2:29 PM #162438No, only the coder and his client do!
If you received it from the client he could tell you.
02/23/2021 at 2:39 PM #162442If you received it from the client he could tell you.
Ah ok, so he can tell us but we cant confirm? My thinking is if I pay for an algo that has 5 year life, I would like to check it has 5 years and not 5 months,,,,. new feature request maybe?
02/23/2021 at 3:53 PM #162454Suggestions can be posted here https://www.prorealcode.com/topic/centralization-of-queries-and-suggestions-on-prorealtime/,
or here https://www.prorealtime.com/it/contatto?suggestion=1 (page IT should be automatically redirected to your country).
02/23/2021 at 4:12 PM #162459It has nothing to do with tha platform, if it is embedded in a code, no one can tell you when it will expire.
Once the marketplace will be fully operational (one day I swear 😉 ) you will get that info directly in the platform (see attached picture).
Of course the product must have been purchased through the marketplace.
02/23/2021 at 8:25 PM #162480you will get that info directly in the platform
That is very cool, and a nice USP for marketplace. Thanks!
-
AuthorPosts
Find exclusive trading pro-tools on