Re: XARD - Simple Trend Following Trading System

19512
Short answer is, No it is not possible.
Tradingview and pine script developers must have think about hacking possibilities and took measure to prevent it from happening.
And what do you mean by "this paid tradingview indicator"? I don't see anything related to it. Maybe you could provide the name and screenshot of how this indicator looks like and maybe hopefully here in this forum already has something similar.
Kovács Tamás wrote: Sun Mar 23, 2025 3:26 pm Dear Xard777.
Looking at the work of the professional, I would like to ask you the question, is it possible to hack this paid tradingview indicator? Any idea who can help me with this?
thank you for your answer! I wanted to write in a private way, but I couldn't find this function, sorry.

Re: XARD - Simple Trend Following Trading System

19514
budhi1976 wrote: Sun Mar 23, 2025 4:20 pm Short answer is, No it is not possible.
Tradingview and pine script developers must have think about hacking possibilities and took measure to prevent it from happening.
And what do you mean by "this paid tradingview indicator"? I don't see anything related to it. Maybe you could provide the name and screenshot of how this indicator looks like and maybe hopefully here in this forum already has something similar.
monthly fee with senior subscription, large individual production, or individual setting

Re: XARD - Simple Trend Following Trading System

19515
Hello, friends,

In a weekend of learning with Grok at the suggestion of xard777 a few posts ago, I decided to embrace this challenge too and start exploring some of the features and see where we can improve or apply concepts and ideas, then I remembered whenever we apply a new version the whole brackground changes color depending on the versions we apply, so it's a good case study.

Starting with version “XU v54-Setup” and going up to the latest available version “XU-20250313” changing the background color every hour. If you're looking for ready-made versions of templates to apply (this is a wonderfull start to guide you: post1294817907.html#p1294817907), download them and stop and then check them in the chart properties, and you'll see something like this, and if you prefer can build your own, and the code provided for two situations is open. And an explanation the difference between RGB and clr

In MQL4 (the programming language used for MetaTrader 4), the difference between RGB and "CLR" relates to how colors are handled, though "CLR" isn’t a standard color model like RGB. Here’s the explanation:
RGB (Red, Green, Blue):
RGB is an additive color model widely used in digital systems, including MQL4, to define colors for graphical elements like charts or indicators. In MQL4, colors are often represented as RGB values using integers. Each component (Red, Green, Blue) ranges from 0 to 255, and the combined value is typically stored as a single integer using the format RGB(r, g, b). For example:
  • RGB(255, 0, 0) represents pure red.
  • RGB(255, 255, 255) is white.
  • RGB(0, 0, 0) is black. This is the standard way to specify colors in MQL4 functions like SetIndexStyle() or ObjectSet() for rendering on charts.
CLR (Likely "Color" or a Misnomer):
In MQL4, "CLR" isn’t an official color model or term defined in the documentation. It’s possible you’re referring to:
  • "Color" as a data type: MQL4 uses the color data type to store color values, which are internally RGB-based but can be assigned either via RGB values (e.g., RGB(255, 128, 0)) or predefined color constants (e.g., clrRed, clrBlue). These constants start with "clr" (lowercase), like clrWhite or clrGray, and represent specific RGB values for convenience.
  • Misinterpretation: If "CLR" was meant as an abbreviation or typo (e.g., for "Color" or something else), it doesn’t represent a distinct color system in MQL4. Unlike RGB, which is the core method, "clr" is just a naming convention for predefined colors.
Key Difference in MQL4:
  • RGB: You explicitly define a color by combining red, green, and blue values (e.g., RGB(0, 255, 0) for green). It gives you full control over custom colors.
  • CLR (clr constants): These are shorthand names (e.g., clrGreen, clrYellow) provided by MQL4 for commonly used colors, avoiding the need to specify RGB values manually. Each "clr" constant corresponds to a specific RGB value (e.g., clrGreen is RGB(0, 255, 0)).
Practical Use:
In MQL4 code, you might see:
  • ObjectSet("MyLine", OBJPROP_COLOR, RGB(255, 0, 0)); // Custom red line.
  • ObjectSet("MyLine", OBJPROP_COLOR, clrRed); // Same result, using a predefined constant. The RGB approach is more flexible for unique colors, while "clr" constants are quicker for standard ones.
In summary, in MQL4, RGB is the underlying system for defining colors numerically, while "CLR" (if referring to clr constants) is a set of named shortcuts for specific RGB values, simplifying coding for common colors.
________________________________________
This assumes "CLR" relates to the clr prefix in MQL4 color constants.
And after you've applied the template, make sure that you don't have this option activated in panel1 (attention this is not apply on the last version, because is not visible this option), but in the last version we have available is on v14m -> post1295549694.html#p1295549694 and ensure the option "AutoArrangeChart = false"

Suggestion for xard777, for the next version keep this option visible, so that those who use this indicator can have the full experience.

And after loading the indicator above, and if you don't want to wait 1 hour for the next template change, you can use a script to see what the template will look like for each hour.
And in the gif the indicator and script in action. And get ready for another crazy week :)
These users thanked the author Curioso for the post (total 8):
lukgoku, mazibee, Cagliostro, eduarescobar, Ababai, DaveTrader, Nabs, GerhardMTB
Lives intensely, because each moment is unique, and looks at each graph with the same passion, because in each line there is a story to be moved by and learn from.


Re: XARD - Simple Trend Following Trading System

19518
Curioso wrote: Mon Mar 24, 2025 12:07 am Hello, friends,

In a weekend of learning with Grok at the suggestion of xard777 a few posts ago, I decided to embrace this challenge too and start exploring some of the features and see where we can improve or apply concepts and ideas, then I remembered whenever we apply a new version the whole brackground changes color depending on the versions we apply, so it's a good case study.

Starting with version “XU v54-Setup” and going up to the latest available version “XU-20250313” changing the background color every hour.
XARD-ChangeBackgroundProperties.mq4

If you're looking for ready-made versions of templates to apply (this is a wonderfull start to guide you: post1294817907.html#p1294817907), download them and stop and then check them in the chart properties, and you'll see something like this, and if you prefer can build your own, and the code provided for two situations is open.
01.PNG

And an explanation the difference between RGB and clr

In MQL4 (the programming language used for MetaTrader 4), the difference between RGB and "CLR" relates to how colors are handled, though "CLR" isn’t a standard color model like RGB. Here’s the explanation:
RGB (Red, Green, Blue):
RGB is an additive color model widely used in digital systems, including MQL4, to define colors for graphical elements like charts or indicators. In MQL4, colors are often represented as RGB values using integers. Each component (Red, Green, Blue) ranges from 0 to 255, and the combined value is typically stored as a single integer using the format RGB(r, g, b). For example:
  • RGB(255, 0, 0) represents pure red.
  • RGB(255, 255, 255) is white.
  • RGB(0, 0, 0) is black. This is the standard way to specify colors in MQL4 functions like SetIndexStyle() or ObjectSet() for rendering on charts.
CLR (Likely "Color" or a Misnomer):
In MQL4, "CLR" isn’t an official color model or term defined in the documentation. It’s possible you’re referring to:
  • "Color" as a data type: MQL4 uses the color data type to store color values, which are internally RGB-based but can be assigned either via RGB values (e.g., RGB(255, 128, 0)) or predefined color constants (e.g., clrRed, clrBlue). These constants start with "clr" (lowercase), like clrWhite or clrGray, and represent specific RGB values for convenience.
  • Misinterpretation: If "CLR" was meant as an abbreviation or typo (e.g., for "Color" or something else), it doesn’t represent a distinct color system in MQL4. Unlike RGB, which is the core method, "clr" is just a naming convention for predefined colors.
Key Difference in MQL4:
  • RGB: You explicitly define a color by combining red, green, and blue values (e.g., RGB(0, 255, 0) for green). It gives you full control over custom colors.
  • CLR (clr constants): These are shorthand names (e.g., clrGreen, clrYellow) provided by MQL4 for commonly used colors, avoiding the need to specify RGB values manually. Each "clr" constant corresponds to a specific RGB value (e.g., clrGreen is RGB(0, 255, 0)).
Practical Use:
In MQL4 code, you might see:
  • ObjectSet("MyLine", OBJPROP_COLOR, RGB(255, 0, 0)); // Custom red line.
  • ObjectSet("MyLine", OBJPROP_COLOR, clrRed); // Same result, using a predefined constant. The RGB approach is more flexible for unique colors, while "clr" constants are quicker for standard ones.
In summary, in MQL4, RGB is the underlying system for defining colors numerically, while "CLR" (if referring to clr constants) is a set of named shortcuts for specific RGB values, simplifying coding for common colors.
________________________________________
This assumes "CLR" relates to the clr prefix in MQL4 color constants.

02.PNG
And after you've applied the template, make sure that you don't have this option activated in panel1 (attention this is not apply on the last version, because is not visible this option), but in the last version we have available is on v14m -> post1295549694.html#p1295549694 and ensure the option "AutoArrangeChart = false"

Suggestion for xard777, for the next version keep this option visible, so that those who use this indicator can have the full experience.

And after loading the indicator above, and if you don't want to wait 1 hour for the next template change, you can use a script to see what the template will look like for each hour.
TEST-XARD-ChangeBackgroundProperties.mq4


And in the gif the indicator and script in action.
ezgif-7179df154363bf.gif

And get ready for another crazy week :)
Thank you for devoting your free time to development for all :)
My entry today was with slightly bent rules because outside of KZ, however it reached the 38% ADR target.
These users thanked the author Greg for the post (total 5):
Curioso, lukgoku, mazibee, Musashi, kudrpenk

Re: XARD - Simple Trend Following Trading System

19520
borbabarby wrote: Mon Mar 24, 2025 6:40 am Hi Xard thanks for your response i currently use an old system of yours the XU V6-XARDFX HL its been my backbone but would love to integrate the new VWAP which follows the highs and lows would appreciate a standalone for the VWAP if possible
You can try it out. It works the same but looks different. I'm not a coder so I won't change it :)
These users thanked the author Greg for the post (total 11):
Curioso, lukgoku, Skyold, kudrpenk, Ricstar_8, Dimanche, borbabarby, Jimmy, xard777, RodrigoRT7, 88FX88