Reply

how to generate random automatic Magic Numbers ?

3 replies

Tarwada

Subscriber, bbp_participant, community, course_strategyquant-x-course, 92 replies.

Visit profile

8 years ago #114633

hello everyone , i need help on how to generate random automatic Magic Numbers ?

 

lets say that i have an strategy that opens a sell trade after every bearish candle …

 

and a very strong downtrend has occurred that have 100 candles , lets say 50 of them were bearish

 

how can i handle the magic numbers to be different from each other so i can have a sell after every bearish candle ?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #134865

This could be what you need. It starts with magic = 1 and with each short entry the magic number is increased by 1. See attachment

0

Tarwada

Subscriber, bbp_participant, community, course_strategyquant-x-course, 92 replies.

Visit profile

8 years ago #134871

This could be what you need. It starts with magic = 1 and with each short entry the magic number is increased by 1. See attachment

 thank you ! , i will try it when i get home

0

Tarwada

Subscriber, bbp_participant, community, course_strategyquant-x-course, 92 replies.

Visit profile

8 years ago #134884

thanks , it worked as expected  !

 

gbpjpy-h4-pepperstone-financial-pty-2.pn

0

Viewing 3 replies - 1 through 3 (of 3 total)