Random Variable

Introducing a random boolean variable that returns two states randomly (0 or 1) in Algowizard & SQX.



f.e. implementation in mql4
MathRand()%Random==0 
MathRand()%Random==1



The output of this random variable can be used to open a short (randomvariable=0) or long (randomvariable=1) position randomly (by luck).


This can be used to build strategies with pure randomness (random buy and sell signals).


The benefit is to crosscheck existing strategies with strategies using random buy & sell signals. This can be used to determine the edge of an existing strategy.


Furthermore TP/SL settings can be optimized only with the application of random buy and sell signals.


IMO this feature will give some interesting insights.


Attachment: P/L distribution with random signals (=pure luck)


Regards 
ChrisWhite

Attachments
PL distribution with random signals.jpg
(58.37 KiB)
  • Votes +4
  • Project StrategyQuant X
  • Type Feature
  • Status New
  • Priority Normal

History

CW
#1

ChrisWhite

17.09.2022 12:59

Task created

b
#2

bentra

17.09.2022 23:06
Voted for this task.
E
#3

Emmanuel

17.09.2022 23:55
Voted for this task.
AA
#4

Alex

19.09.2022 08:19
Voted for this task.
AA
#5

Alex

19.09.2022 08:21
Also look at this:

Add test to verify edge in entry & exit

https://roadmap.strategyquant.com/tasks/sq4_9278

CG
#6

Chris G

24.09.2022 17:03
Voted for this task.

Votes: +4

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please