// v4 // continuation of prime number checker with strat commands and normal distribution theory put in
//pump/dump trend following strategy idea added.
//Pseudo Random Number Generator Box Muller Normal Distribution Method - code from [RS]Function - Functions to generate Random values by RicardoSantos. Dots are calculated by an adaptation of the ideas //in this script.
// volume accumulates when dots are green for buys, red for sells. This setup is just looking for buys but this is very easy to change //just go to trading day and swap all strategy.long commands for strategy.short commands
// Exits on minutes where OHLC all return 'primeness'
//Reinforced dots (with black) when last three dots are all of same colour
Nice work. I want try but its not working in any pair =( How to fix this?
snowzz
⋅
//for i = 2 to 3 for i = 2 to 9 if (f_close % i) == 0 flagc := 1 // for i = 4 to 5 // if (f_close % i) == 0 // flagc := 1 // for i = 6 to 7 // if (f_close % i) == 0 // flagc := 1 // for i = 8 to 9 // if (f_close % i) == 0 // flagc := 1
This code confused me, I simplified it a bit.
veryfid
⋅
Interesting strategy. Have you managed to run bots with it? I don't seem to get as good results when I turn off pyramiding.
Eliza123123
⋅
@veryfid, you'd almost definitely need a custom bot for this kind of strategy, but yes I could run this if I wanted to
@Eliza123123, haha sweet, well I'm a fan of your work. I like the way you see the charts. Do you use services like 3commas or only custom bots?
Eliza123123
⋅
@veryfid, I just paid 5k for some nerd to write me something custom. I'm so over 3 commas its pretty bad haha
veryfid
⋅
@Eliza123123, It better be good for 5k lol. Ive had some occasional issues with 3commas not receiving commands to enter and exit trades.
Eliza123123
⋅
@veryfid, problem is one way or another with 3 commas you're having to use sl's which is playing right into the hands of market makers who dont us sl or tp but coded entry and coded exit
veryfid
⋅
@Eliza123123, Yeah I turned off SL but it's such a strange concept that a TP is required. Keen to hear how your bot goes. If you are ever interested I can deploy you your very own exchange starting from 3k.