-
Notifications
You must be signed in to change notification settings - Fork 17
/
Combined_NFIv7_SMA.py
2604 lines (2318 loc) · 216 KB
/
Combined_NFIv7_SMA.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import freqtrade.vendor.qtpylib.indicators as qtpylib
import numpy as np
import talib.abstract as ta
from freqtrade.strategy.interface import IStrategy
from freqtrade.strategy import (merge_informative_pair,
DecimalParameter, IntParameter, CategoricalParameter)
from pandas import DataFrame, Series
from functools import reduce
from freqtrade.persistence import Trade
from datetime import datetime, timedelta
from technical.indicators import zema
###########################################################################################################
## NostalgiaForInfinityV7 by iterativ ##
## ##
## Strategy for Freqtrade https://github.com/freqtrade/freqtrade ##
## ##
###########################################################################################################
## GENERAL RECOMMENDATIONS ##
## ##
## For optimal performance, suggested to use between 4 and 6 open trades, with unlimited stake. ##
## A pairlist with 40 to 80 pairs. Volume pairlist works well. ##
## Prefer stable coin (USDT, BUSDT etc) pairs, instead of BTC or ETH pairs. ##
## Highly recommended to blacklist leveraged tokens (*BULL, *BEAR, *UP, *DOWN etc). ##
## Ensure that you don't override any variables in you config.json. Especially ##
## the timeframe (must be 5m). ##
## use_sell_signal must set to true (or not set at all). ##
## sell_profit_only must set to false (or not set at all). ##
## ignore_roi_if_buy_signal must set to true (or not set at all). ##
## ##
###########################################################################################################
## DONATIONS ##
## ##
## Absolutely not required. However, will be accepted as a token of appreciation. ##
## ##
## BTC: bc1qvflsvddkmxh7eqhc4jyu5z5k6xcw3ay8jl49sk ##
## ETH (ERC20): 0x83D3cFb8001BDC5d2211cBeBB8cB3461E5f7Ec91 ##
## BEP20/BSC (ETH, BNB, ...): 0x86A0B21a20b39d16424B7c8003E4A7e12d78ABEe ##
## ##
###########################################################################################################
class Combined_NFIv7_SMA(IStrategy):
INTERFACE_VERSION = 2
# # ROI table:
minimal_roi = {
"0": 10,
}
stoploss = -0.99
# Trailing stoploss (not used)
trailing_stop = True
trailing_only_offset_is_reached = True
trailing_stop_positive = 0.005
trailing_stop_positive_offset = 0.03
use_custom_stoploss = False
# Optimal timeframe for the strategy.
timeframe = '5m'
inf_1h = '1h'
# Run "populate_indicators()" only for new candle.
process_only_new_candles = True
# These values can be overridden in the "ask_strategy" section in the config.
use_sell_signal = True
sell_profit_only = False
ignore_roi_if_buy_signal = True
# Number of candles the strategy requires before producing valid signals
startup_candle_count: int = 400
# Optional order type mapping.
order_types = {
'buy': 'limit',
'sell': 'limit',
'trailing_stop_loss': 'limit',
'stoploss': 'limit',
'stoploss_on_exchange': False
}
#############################################################
buy_params = {
#############
# Enable/Disable conditions
"buy_condition_1_enable": True,
"buy_condition_2_enable": True,
"buy_condition_3_enable": True,
"buy_condition_4_enable": True,
"buy_condition_5_enable": True,
"buy_condition_6_enable": True,
"buy_condition_7_enable": True,
"buy_condition_8_enable": True,
"buy_condition_9_enable": True,
"buy_condition_10_enable": True,
"buy_condition_11_enable": True,
"buy_condition_12_enable": True,
"buy_condition_13_enable": True,
"buy_condition_14_enable": True,
"buy_condition_15_enable": True,
"buy_condition_16_enable": True,
"buy_condition_17_enable": True,
"buy_condition_18_enable": True,
"buy_condition_19_enable": True,
"buy_condition_20_enable": True,
"buy_condition_21_enable": True,
"buy_condition_22_enable": True,
"buy_condition_23_enable": True,
"buy_condition_24_enable": True,
"buy_condition_25_enable": True,
"buy_condition_26_enable": True,
#############
}
sell_params = {
#############
# Enable/Disable conditions
"sell_condition_1_enable": True,
"sell_condition_2_enable": True,
"sell_condition_3_enable": True,
"sell_condition_4_enable": True,
"sell_condition_5_enable": True,
"sell_condition_6_enable": True,
"sell_condition_7_enable": True,
"sell_condition_8_enable": True,
#############
}
#############################################################
buy_condition_1_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_01_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_01_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="26", space='buy', optimize=False, load=True)
buy_01_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_01_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_01_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_01_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_01_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_01_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_01_protection__sma200_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_01_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="28", space='buy', optimize=False, load=True)
buy_01_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_01_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_01_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_01_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="80", space='buy', optimize=False, load=True)
buy_01_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_01_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="70", space='buy', optimize=False, load=True)
buy_01_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_2_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_02_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_02_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_02_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_02_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_02_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_02_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_02_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_02_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="20", space='buy', optimize=False, load=True)
buy_02_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_02_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_02_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_02_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_02_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_02_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_02_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_02_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_02_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_condition_3_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_03_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_03_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_03_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_03_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_03_protection__ema_fast = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_03_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_03_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_03_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_03_protection__safe_dips = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_03_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_03_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_03_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="100", space='buy', optimize=False, load=True)
buy_03_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="36", space='buy', optimize=False, load=True)
buy_03_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_03_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_03_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_03_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_condition_4_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_04_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_04_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_04_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_04_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_04_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_04_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_04_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_04_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_04_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_04_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="40", space='buy', optimize=False, load=True)
buy_04_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_04_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="110", space='buy', optimize=False, load=True)
buy_04_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="48", space='buy', optimize=False, load=True)
buy_04_protection__sma200_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_04_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_04_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_04_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="20", space='buy', optimize=False, load=True)
buy_condition_5_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_05_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_05_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_05_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_05_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_05_protection__ema_fast = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_05_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_05_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_05_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_05_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_05_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="100", space='buy', optimize=False, load=True)
buy_05_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_05_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="20", space='buy', optimize=False, load=True)
buy_05_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="36", space='buy', optimize=False, load=True)
buy_05_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_05_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_05_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_05_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_condition_6_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_06_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_06_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_06_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_06_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_06_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_06_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_06_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_06_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_06_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_06_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_06_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_06_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_06_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_06_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_06_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_06_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="20", space='buy', optimize=False, load=True)
buy_06_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="36", space='buy', optimize=False, load=True)
buy_condition_7_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_07_protection__ema_fast = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_07_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_07_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_07_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="12", space='buy', optimize=False, load=True)
buy_07_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_07_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_07_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_07_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_07_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_07_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_07_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_07_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_07_protection__safe_dips = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_07_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_07_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_07_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_07_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_8_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_08_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_08_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_08_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_08_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="12", space='buy', optimize=False, load=True)
buy_08_protection__close_above_ema_fast = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_08_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_08_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_08_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_08_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_08_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_08_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_08_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_08_protection__safe_dips = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_08_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="100", space='buy', optimize=False, load=True)
buy_08_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_08_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="120", space='buy', optimize=False, load=True)
buy_08_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_9_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_09_protection__ema_fast = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_09_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_09_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_09_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_09_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_09_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_09_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_09_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_09_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_09_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_09_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_09_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_09_protection__safe_dips = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_09_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_09_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_09_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_09_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_10_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_10_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_10_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_10_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_10_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_10_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_10_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_10_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_10_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_10_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_10_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_10_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_10_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="24", space='buy', optimize=False, load=True)
buy_10_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_10_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="100", space='buy', optimize=False, load=True)
buy_10_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_10_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_10_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_11_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_11_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_11_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_11_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_11_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_11_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_11_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_11_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_11_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_11_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_11_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_11_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_11_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_11_protection__safe_dips = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_11_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="100", space='buy', optimize=False, load=True)
buy_11_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_11_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_11_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_12_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_12_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_12_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_12_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_12_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_12_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_12_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_12_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_12_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_12_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_12_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_12_protection__sma200_1h_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_12_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="24", space='buy', optimize=False, load=True)
buy_12_protection__safe_dips = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_12_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="100", space='buy', optimize=False, load=True)
buy_12_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_12_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_12_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_13_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_13_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_13_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_13_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_13_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_13_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_13_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_13_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_13_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_13_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_13_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_13_protection__sma200_1h_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_13_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="24", space='buy', optimize=False, load=True)
buy_13_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_13_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_13_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_13_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_13_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_14_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_14_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_14_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_14_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_14_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_14_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_14_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_14_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_14_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_14_protection__sma200_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_14_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="30", space='buy', optimize=False, load=True)
buy_14_protection__sma200_1h_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_14_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_14_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_14_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_14_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_14_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="70", space='buy', optimize=False, load=True)
buy_14_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_15_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_15_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_15_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_15_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_15_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_15_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_15_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_15_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_15_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_15_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_15_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_15_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_15_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_15_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_15_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_15_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_15_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_15_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="36", space='buy', optimize=False, load=True)
buy_condition_16_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_16_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_16_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_16_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_16_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_16_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_16_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_16_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_16_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="50", space='buy', optimize=False, load=True)
buy_16_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_16_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_16_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_16_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_16_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_16_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_16_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_16_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_16_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_17_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_17_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_17_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_17_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_17_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_17_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_17_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_17_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_17_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_17_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_17_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_17_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_17_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_17_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_17_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_17_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_17_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="120", space='buy', optimize=False, load=True)
buy_17_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_18_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_18_protection__ema_fast = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_18_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_18_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_18_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_18_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_18_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_18_protection__close_above_ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_18_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_18_protection__sma200_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_18_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="44", space='buy', optimize=False, load=True)
buy_18_protection__sma200_1h_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_18_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="72", space='buy', optimize=False, load=True)
buy_18_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_18_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_18_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_18_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="60", space='buy', optimize=False, load=True)
buy_18_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_19_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_19_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_19_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_19_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_19_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=False, load=True)
buy_19_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_19_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_19_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_19_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_19_protection__sma200_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_19_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="36", space='buy', optimize=False, load=True)
buy_19_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_19_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_19_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_19_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_19_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_19_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_19_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_20_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_20_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_20_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_20_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_20_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_20_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_20_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_20_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_20_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_20_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_20_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_20_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_20_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_20_protection__safe_dips = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_20_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_20_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_20_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_20_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_21_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_21_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_21_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_21_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_21_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_21_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_21_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_21_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_21_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_21_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_21_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_21_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_21_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_21_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_21_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="90", space='buy', optimize=False, load=True)
buy_21_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_21_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_21_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_22_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_22_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_22_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_22_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_22_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_22_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_22_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_22_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_22_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_22_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_22_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_22_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_22_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_22_protection__safe_dips = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_22_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_22_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_22_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_22_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_23_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_23_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_23_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_23_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_23_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_23_protection__close_above_ema_fast = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_23_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_23_protection__close_above_ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_23_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_23_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_23_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_23_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_23_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=False, load=True)
buy_23_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_23_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="100", space='buy', optimize=False, load=True)
buy_23_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_23_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_23_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_24_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_24_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_24_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_24_protection__ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_24_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=False, load=True)
buy_24_protection__close_above_ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_24_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="200", space='buy', optimize=False, load=True)
buy_24_protection__close_above_ema_slow = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_24_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=False, load=True)
buy_24_protection__sma200_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_24_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="30", space='buy', optimize=False, load=True)
buy_24_protection__sma200_1h_rising = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_24_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="36", space='buy', optimize=False, load=True)
buy_24_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_24_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=False, load=True)
buy_24_protection__safe_pump = CategoricalParameter([True, False], default=False, space='buy', optimize=False, load=True)
buy_24_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="50", space='buy', optimize=False, load=True)
buy_24_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="24", space='buy', optimize=False, load=True)
buy_condition_26_enable = CategoricalParameter([True, False], default=True, space='buy', optimize=False, load=True)
buy_26_protection__optimize = False
buy_26_parameters__optimize = False
buy_26_protection__ema_fast = CategoricalParameter([True, False], default=False, space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__ema_fast_len = CategoricalParameter(["26","50","100","200"], default="50", space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__ema_slow_len = CategoricalParameter(["26","50","100","200"], default="100", space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__close_above_ema_fast = CategoricalParameter([True, False], default=True, space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__close_above_ema_fast_len = CategoricalParameter(["12","20","26","50","100","200"], default="50", space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__close_above_ema_slow = CategoricalParameter([True, False], default=True, space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__close_above_ema_slow_len = CategoricalParameter(["15","50","200"], default="200", space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__sma200_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__sma200_rising_val = CategoricalParameter(["20","30","36","44","50"], default="30", space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__sma200_1h_rising = CategoricalParameter([True, False], default=False, space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__sma200_1h_rising_val = CategoricalParameter(["20","30","36","44","50"], default="50", space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__safe_dips = CategoricalParameter([True, False], default=True, space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__safe_dips_type = CategoricalParameter(["10","50","100"], default="10", space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__safe_pump = CategoricalParameter([True, False], default=True, space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__safe_pump_type = CategoricalParameter(["10","50","100"], default="100", space='buy', optimize=buy_26_protection__optimize, load=True)
buy_26_protection__safe_pump_period = CategoricalParameter(["24","36","48"], default="48", space='buy', optimize=buy_26_protection__optimize, load=True)
# Strict dips - level 10
buy_dip_threshold_10_1 = DecimalParameter(0.001, 0.05, default=0.015, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_10_2 = DecimalParameter(0.01, 0.2, default=0.1, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_10_3 = DecimalParameter(0.1, 0.3, default=0.24, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_10_4 = DecimalParameter(0.3, 0.5, default=0.42, space='buy', decimals=3, optimize=False, load=True)
# Strict dips - level 20
buy_dip_threshold_20_1 = DecimalParameter(0.001, 0.05, default=0.016, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_20_2 = DecimalParameter(0.01, 0.2, default=0.11, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_20_3 = DecimalParameter(0.1, 0.4, default=0.26, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_20_4 = DecimalParameter(0.36, 0.56, default=0.44, space='buy', decimals=3, optimize=False, load=True)
# Strict dips - level 30
buy_dip_threshold_30_1 = DecimalParameter(0.001, 0.05, default=0.018, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_30_2 = DecimalParameter(0.01, 0.2, default=0.12, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_30_3 = DecimalParameter(0.1, 0.4, default=0.28, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_30_4 = DecimalParameter(0.36, 0.56, default=0.46, space='buy', decimals=3, optimize=False, load=True)
# Strict dips - level 40
buy_dip_threshold_40_1 = DecimalParameter(0.001, 0.05, default=0.019, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_40_2 = DecimalParameter(0.01, 0.2, default=0.13, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_40_3 = DecimalParameter(0.1, 0.4, default=0.3, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_40_4 = DecimalParameter(0.36, 0.56, default=0.48, space='buy', decimals=3, optimize=False, load=True)
# Normal dips - level 50
buy_dip_threshold_50_1 = DecimalParameter(0.001, 0.05, default=0.02, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_50_2 = DecimalParameter(0.01, 0.2, default=0.14, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_50_3 = DecimalParameter(0.05, 0.4, default=0.32, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_50_4 = DecimalParameter(0.2, 0.5, default=0.5, space='buy', decimals=3, optimize=False, load=True)
# Normal dips - level 60
buy_dip_threshold_60_1 = DecimalParameter(0.001, 0.05, default=0.022, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_60_2 = DecimalParameter(0.1, 0.22, default=0.18, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_60_3 = DecimalParameter(0.2, 0.4, default=0.34, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_60_4 = DecimalParameter(0.4, 0.6, default=0.56, space='buy', decimals=3, optimize=False, load=True)
# Normal dips - level 70
buy_dip_threshold_70_1 = DecimalParameter(0.001, 0.05, default=0.023, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_70_2 = DecimalParameter(0.16, 0.28, default=0.2, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_70_3 = DecimalParameter(0.2, 0.4, default=0.36, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_70_4 = DecimalParameter(0.5, 0.7, default=0.6, space='buy', decimals=3, optimize=False, load=True)
# Normal dips - level 80
buy_dip_threshold_80_1 = DecimalParameter(0.001, 0.05, default=0.024, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_80_2 = DecimalParameter(0.16, 0.28, default=0.22, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_80_3 = DecimalParameter(0.2, 0.4, default=0.38, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_80_4 = DecimalParameter(0.5, 0.7, default=0.66, space='buy', decimals=3, optimize=False, load=True)
# Normal dips - level 70
buy_dip_threshold_90_1 = DecimalParameter(0.001, 0.05, default=0.025, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_90_2 = DecimalParameter(0.16, 0.28, default=0.23, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_90_3 = DecimalParameter(0.3, 0.5, default=0.4, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_90_4 = DecimalParameter(0.6, 0.8, default=0.7, space='buy', decimals=3, optimize=False, load=True)
# Loose dips - level 100
buy_dip_threshold_100_1 = DecimalParameter(0.001, 0.05, default=0.026, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_100_2 = DecimalParameter(0.16, 0.3, default=0.24, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_100_3 = DecimalParameter(0.3, 0.5, default=0.42, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_100_4 = DecimalParameter(0.6, 1.0, default=0.8, space='buy', decimals=3, optimize=False, load=True)
# Loose dips - level 110
buy_dip_threshold_110_1 = DecimalParameter(0.001, 0.05, default=0.027, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_110_2 = DecimalParameter(0.16, 0.3, default=0.26, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_110_3 = DecimalParameter(0.3, 0.5, default=0.44, space='buy', decimals=3, optimize=False, load=True)
buy_dip_threshold_110_4 = DecimalParameter(0.6, 1.0, default=0.84, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 10
buy_pump_pull_threshold_10_24 = DecimalParameter(1.5, 3.0, default=2.2, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_10_24 = DecimalParameter(0.4, 1.0, default=0.42, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 10
buy_pump_pull_threshold_10_36 = DecimalParameter(1.5, 3.0, default=2.0, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_10_36 = DecimalParameter(0.4, 1.0, default=0.58, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 10
buy_pump_pull_threshold_10_48 = DecimalParameter(1.5, 3.0, default=2.0, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_10_48 = DecimalParameter(0.4, 1.0, default=0.8, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 20
buy_pump_pull_threshold_20_24 = DecimalParameter(1.5, 3.0, default=2.2, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_20_24 = DecimalParameter(0.4, 1.0, default=0.46, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 20
buy_pump_pull_threshold_20_36 = DecimalParameter(1.5, 3.0, default=2.0, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_20_36 = DecimalParameter(0.4, 1.0, default=0.6, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 20
buy_pump_pull_threshold_20_48 = DecimalParameter(1.5, 3.0, default=2.0, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_20_48 = DecimalParameter(0.4, 1.0, default=0.81, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 30
buy_pump_pull_threshold_30_24 = DecimalParameter(1.5, 3.0, default=2.2, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_30_24 = DecimalParameter(0.4, 1.0, default=0.5, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 30
buy_pump_pull_threshold_30_36 = DecimalParameter(1.5, 3.0, default=2.0, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_30_36 = DecimalParameter(0.4, 1.0, default=0.62, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 30
buy_pump_pull_threshold_30_48 = DecimalParameter(1.5, 3.0, default=2.0, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_30_48 = DecimalParameter(0.4, 1.0, default=0.82, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 40
buy_pump_pull_threshold_40_24 = DecimalParameter(1.5, 3.0, default=2.2, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_40_24 = DecimalParameter(0.4, 1.0, default=0.54, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 40
buy_pump_pull_threshold_40_36 = DecimalParameter(1.5, 3.0, default=2.0, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_40_36 = DecimalParameter(0.4, 1.0, default=0.63, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 40
buy_pump_pull_threshold_40_48 = DecimalParameter(1.5, 3.0, default=2.0, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_40_48 = DecimalParameter(0.4, 1.0, default=0.84, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 50
buy_pump_pull_threshold_50_24 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_50_24 = DecimalParameter(0.4, 1.0, default=0.6, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 50
buy_pump_pull_threshold_50_36 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_50_36 = DecimalParameter(0.4, 1.0, default=0.64, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 50
buy_pump_pull_threshold_50_48 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_50_48 = DecimalParameter(0.4, 1.0, default=0.85, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 60
buy_pump_pull_threshold_60_24 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_60_24 = DecimalParameter(0.4, 1.0, default=0.62, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 60
buy_pump_pull_threshold_60_36 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_60_36 = DecimalParameter(0.4, 1.0, default=0.66, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 60
buy_pump_pull_threshold_60_48 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_60_48 = DecimalParameter(0.4, 1.0, default=0.9, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 70
buy_pump_pull_threshold_70_24 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_70_24 = DecimalParameter(0.4, 1.0, default=0.63, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 70
buy_pump_pull_threshold_70_36 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_70_36 = DecimalParameter(0.4, 1.0, default=0.67, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 70
buy_pump_pull_threshold_70_48 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_70_48 = DecimalParameter(0.4, 1.0, default=0.95, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 80
buy_pump_pull_threshold_80_24 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_80_24 = DecimalParameter(0.4, 1.0, default=0.64, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 80
buy_pump_pull_threshold_80_36 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_80_36 = DecimalParameter(0.4, 1.0, default=0.68, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 80
buy_pump_pull_threshold_80_48 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_80_48 = DecimalParameter(0.8, 1.1, default=1.0, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 90
buy_pump_pull_threshold_90_24 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_90_24 = DecimalParameter(0.4, 1.0, default=0.65, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 90
buy_pump_pull_threshold_90_36 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_90_36 = DecimalParameter(0.4, 1.0, default=0.69, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 90
buy_pump_pull_threshold_90_48 = DecimalParameter(1.5, 3.0, default=1.75, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_90_48 = DecimalParameter(0.8, 1.2, default=1.1, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 100
buy_pump_pull_threshold_100_24 = DecimalParameter(1.5, 3.0, default=1.7, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_100_24 = DecimalParameter(0.4, 1.0, default=0.66, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 100
buy_pump_pull_threshold_100_36 = DecimalParameter(1.5, 3.0, default=1.7, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_100_36 = DecimalParameter(0.4, 1.0, default=0.7, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 100
buy_pump_pull_threshold_100_48 = DecimalParameter(1.3, 2.0, default=1.4, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_100_48 = DecimalParameter(0.4, 1.8, default=1.6, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 110
buy_pump_pull_threshold_110_24 = DecimalParameter(1.5, 3.0, default=1.7, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_110_24 = DecimalParameter(0.4, 1.0, default=0.7, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 110
buy_pump_pull_threshold_110_36 = DecimalParameter(1.5, 3.0, default=1.7, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_110_36 = DecimalParameter(0.4, 1.0, default=0.74, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 110
buy_pump_pull_threshold_110_48 = DecimalParameter(1.3, 2.0, default=1.4, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_110_48 = DecimalParameter(1.4, 2.0, default=1.8, space='buy', decimals=3, optimize=False, load=True)
# 24 hours - level 120
buy_pump_pull_threshold_120_24 = DecimalParameter(1.5, 3.0, default=1.7, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_120_24 = DecimalParameter(0.4, 1.0, default=0.78, space='buy', decimals=3, optimize=False, load=True)
# 36 hours - level 120
buy_pump_pull_threshold_120_36 = DecimalParameter(1.5, 3.0, default=1.7, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_120_36 = DecimalParameter(0.4, 1.0, default=0.78, space='buy', decimals=3, optimize=False, load=True)
# 48 hours - level 120
buy_pump_pull_threshold_120_48 = DecimalParameter(1.3, 2.0, default=1.4, space='buy', decimals=2, optimize=False, load=True)
buy_pump_threshold_120_48 = DecimalParameter(1.4, 2.8, default=2.0, space='buy', decimals=3, optimize=False, load=True)
buy_min_inc_1 = DecimalParameter(0.01, 0.05, default=0.022, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_1h_min_1 = DecimalParameter(25.0, 40.0, default=30.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_max_1 = DecimalParameter(70.0, 90.0, default=84.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1 = DecimalParameter(20.0, 40.0, default=36.0, space='buy', decimals=1, optimize=False, load=True)
buy_mfi_1 = DecimalParameter(20.0, 40.0, default=36.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_min_2 = DecimalParameter(30.0, 40.0, default=32.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_max_2 = DecimalParameter(70.0, 95.0, default=84.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_diff_2 = DecimalParameter(30.0, 50.0, default=39.0, space='buy', decimals=1, optimize=False, load=True)
buy_mfi_2 = DecimalParameter(30.0, 56.0, default=49.0, space='buy', decimals=1, optimize=False, load=True)
buy_bb_offset_2 = DecimalParameter(0.97, 0.999, default=0.983, space='buy', decimals=3, optimize=False, load=True)
buy_bb40_bbdelta_close_3 = DecimalParameter(0.005, 0.06, default=0.059, space='buy', optimize=False, load=True)
buy_bb40_closedelta_close_3 = DecimalParameter(0.01, 0.03, default=0.023, space='buy', optimize=False, load=True)
buy_bb40_tail_bbdelta_3 = DecimalParameter(0.15, 0.45, default=0.418, space='buy', optimize=False, load=True)
buy_ema_rel_3 = DecimalParameter(0.97, 0.999, default=0.986, space='buy', decimals=3, optimize=False, load=True)
buy_bb20_close_bblowerband_4 = DecimalParameter(0.96, 0.99, default=0.98, space='buy', optimize=False, load=True)
buy_bb20_volume_4 = DecimalParameter(1.0, 20.0, default=10.0, space='buy', decimals=2, optimize=False, load=True)
buy_ema_open_mult_5 = DecimalParameter(0.016, 0.03, default=0.018, space='buy', decimals=3, optimize=False, load=True)
buy_bb_offset_5 = DecimalParameter(0.98, 1.0, default=0.996, space='buy', decimals=3, optimize=False, load=True)
buy_ema_rel_5 = DecimalParameter(0.97, 0.999, default=0.944, space='buy', decimals=3, optimize=False, load=True)
buy_ema_open_mult_6 = DecimalParameter(0.02, 0.03, default=0.021, space='buy', decimals=3, optimize=False, load=True)
buy_bb_offset_6 = DecimalParameter(0.98, 0.999, default=0.984, space='buy', decimals=3, optimize=False, load=True)
buy_ema_open_mult_7 = DecimalParameter(0.02, 0.04, default=0.03, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_7 = DecimalParameter(24.0, 50.0, default=37.0, space='buy', decimals=1, optimize=False, load=True)
buy_volume_8 = DecimalParameter(1.0, 6.0, default=2.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_8 = DecimalParameter(16.0, 30.0, default=29.0, space='buy', decimals=1, optimize=False, load=True)
buy_tail_diff_8 = DecimalParameter(3.0, 10.0, default=3.5, space='buy', decimals=1, optimize=False, load=True)
buy_ma_offset_9 = DecimalParameter(0.91, 0.94, default=0.922, space='buy', decimals=3, optimize=False, load=True)
buy_bb_offset_9 = DecimalParameter(0.96, 0.98, default=0.942, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_1h_min_9 = DecimalParameter(26.0, 40.0, default=30.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_max_9 = DecimalParameter(70.0, 90.0, default=88.0, space='buy', decimals=1, optimize=False, load=True)
buy_mfi_9 = DecimalParameter(36.0, 56.0, default=50.0, space='buy', decimals=1, optimize=False, load=True)
buy_ma_offset_10 = DecimalParameter(0.93, 0.97, default=0.948, space='buy', decimals=3, optimize=False, load=True)
buy_bb_offset_10 = DecimalParameter(0.97, 0.99, default=0.985, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_1h_10 = DecimalParameter(20.0, 40.0, default=37.0, space='buy', decimals=1, optimize=False, load=True)
buy_ma_offset_11 = DecimalParameter(0.93, 0.99, default=0.934, space='buy', decimals=3, optimize=False, load=True)
buy_min_inc_11 = DecimalParameter(0.005, 0.05, default=0.01, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_1h_min_11 = DecimalParameter(40.0, 60.0, default=55.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_max_11 = DecimalParameter(70.0, 90.0, default=84.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_11 = DecimalParameter(34.0, 50.0, default=48.0, space='buy', decimals=1, optimize=False, load=True)
buy_mfi_11 = DecimalParameter(30.0, 46.0, default=36.0, space='buy', decimals=1, optimize=False, load=True)
buy_ma_offset_12 = DecimalParameter(0.93, 0.97, default=0.922, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_12 = DecimalParameter(26.0, 40.0, default=30.0, space='buy', decimals=1, optimize=False, load=True)
buy_ewo_12 = DecimalParameter(1.0, 6.0, default=1.8, space='buy', decimals=1, optimize=False, load=True)
buy_ma_offset_13 = DecimalParameter(0.93, 0.98, default=0.99, space='buy', decimals=3, optimize=False, load=True)
buy_ewo_13 = DecimalParameter(-14.0, -7.0, default=-11.4, space='buy', decimals=1, optimize=False, load=True)
buy_ema_open_mult_14 = DecimalParameter(0.01, 0.03, default=0.014, space='buy', decimals=3, optimize=False, load=True)
buy_bb_offset_14 = DecimalParameter(0.98, 1.0, default=0.988, space='buy', decimals=3, optimize=False, load=True)
buy_ma_offset_14 = DecimalParameter(0.93, 0.99, default=0.98, space='buy', decimals=3, optimize=False, load=True)
buy_ema_open_mult_15 = DecimalParameter(0.01, 0.03, default=0.018, space='buy', decimals=3, optimize=False, load=True)
buy_ma_offset_15 = DecimalParameter(0.93, 0.99, default=0.954, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_15 = DecimalParameter(20.0, 36.0, default=28.0, space='buy', decimals=1, optimize=False, load=True)
buy_ema_rel_15 = DecimalParameter(0.97, 0.999, default=0.988, space='buy', decimals=3, optimize=False, load=True)
buy_ma_offset_16 = DecimalParameter(0.93, 0.97, default=0.952, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_16 = DecimalParameter(26.0, 50.0, default=31.0, space='buy', decimals=1, optimize=False, load=True)
buy_ewo_16 = DecimalParameter(2.0, 6.0, default=2.8, space='buy', decimals=1, optimize=False, load=True)
buy_ma_offset_17 = DecimalParameter(0.93, 0.98, default=0.952, space='buy', decimals=3, optimize=False, load=True)
buy_ewo_17 = DecimalParameter(-18.0, -10.0, default=-12.8, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_18 = DecimalParameter(16.0, 32.0, default=26.0, space='buy', decimals=1, optimize=False, load=True)
buy_bb_offset_18 = DecimalParameter(0.98, 1.0, default=0.982, space='buy', decimals=3, optimize=False, load=True)
buy_rsi_1h_min_19 = DecimalParameter(40.0, 70.0, default=50.0, space='buy', decimals=1, optimize=False, load=True)
buy_chop_min_19 = DecimalParameter(20.0, 60.0, default=24.1, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_20 = DecimalParameter(20.0, 36.0, default=27.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_20 = DecimalParameter(14.0, 30.0, default=20.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_21 = DecimalParameter(10.0, 28.0, default=23.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_21 = DecimalParameter(18.0, 40.0, default=24.0, space='buy', decimals=1, optimize=False, load=True)
buy_volume_22 = DecimalParameter(0.5, 6.0, default=3.0, space='buy', decimals=1, optimize=False, load=True)
buy_bb_offset_22 = DecimalParameter(0.98, 1.0, default=0.98, space='buy', decimals=3, optimize=False, load=True)
buy_ma_offset_22 = DecimalParameter(0.93, 0.98, default=0.94, space='buy', decimals=3, optimize=False, load=True)
buy_ewo_22 = DecimalParameter(2.0, 10.0, default=4.2, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_22 = DecimalParameter(26.0, 56.0, default=37.0, space='buy', decimals=1, optimize=False, load=True)
buy_bb_offset_23 = DecimalParameter(0.97, 1.0, default=0.987, space='buy', decimals=3, optimize=False, load=True)
buy_ewo_23 = DecimalParameter(2.0, 10.0, default=7.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_23 = DecimalParameter(20.0, 40.0, default=30.0, space='buy', decimals=1, optimize=False, load=True)
buy_rsi_1h_23 = DecimalParameter(60.0, 80.0, default=70.0, space='buy', decimals=1, optimize=False, load=True)
buy_24_rsi_max = DecimalParameter(26.0, 60.0, default=60.0, space='buy', decimals=1, optimize=False, load=True)
buy_24_rsi_1h_min = DecimalParameter(40.0, 90.0, default=66.9, space='buy', decimals=1, optimize=False, load=True)
buy_26_zema_low_offset = DecimalParameter(0.90, 0.99, default=0.93, space='buy', optimize=buy_26_parameters__optimize, load=True)
# Sell
sell_condition_1_enable = CategoricalParameter([True, False], default=True, space='sell', optimize=False, load=True)
sell_condition_2_enable = CategoricalParameter([True, False], default=True, space='sell', optimize=False, load=True)
sell_condition_3_enable = CategoricalParameter([True, False], default=True, space='sell', optimize=False, load=True)
sell_condition_4_enable = CategoricalParameter([True, False], default=True, space='sell', optimize=False, load=True)
sell_condition_5_enable = CategoricalParameter([True, False], default=True, space='sell', optimize=False, load=True)
sell_condition_6_enable = CategoricalParameter([True, False], default=True, space='sell', optimize=False, load=True)
sell_condition_7_enable = CategoricalParameter([True, False], default=True, space='sell', optimize=False, load=True)
sell_condition_8_enable = CategoricalParameter([True, False], default=True, space='sell', optimize=False, load=True)
# 48h for pump sell checks
sell_pump_threshold_48_1 = DecimalParameter(0.5, 1.2, default=0.9, space='sell', decimals=2, optimize=False, load=True)
sell_pump_threshold_48_2 = DecimalParameter(0.4, 0.9, default=0.7, space='sell', decimals=2, optimize=False, load=True)
sell_pump_threshold_48_3 = DecimalParameter(0.3, 0.7, default=0.5, space='sell', decimals=2, optimize=False, load=True)
# 36h for pump sell checks
sell_pump_threshold_36_1 = DecimalParameter(0.5, 0.9, default=0.72, space='sell', decimals=2, optimize=False, load=True)
sell_pump_threshold_36_2 = DecimalParameter(3.0, 6.0, default=4.0, space='sell', decimals=2, optimize=False, load=True)
sell_pump_threshold_36_3 = DecimalParameter(0.8, 1.6, default=1.0, space='sell', decimals=2, optimize=False, load=True)
# 24h for pump sell checks
sell_pump_threshold_24_1 = DecimalParameter(0.5, 0.9, default=0.68, space='sell', decimals=2, optimize=False, load=True)
sell_pump_threshold_24_2 = DecimalParameter(0.3, 0.6, default=0.62, space='sell', decimals=2, optimize=False, load=True)
sell_pump_threshold_24_3 = DecimalParameter(0.2, 0.5, default=0.88, space='sell', decimals=2, optimize=False, load=True)
sell_rsi_bb_1 = DecimalParameter(60.0, 80.0, default=79.5, space='sell', decimals=1, optimize=False, load=True)
sell_rsi_bb_2 = DecimalParameter(72.0, 90.0, default=81, space='sell', decimals=1, optimize=False, load=True)
sell_rsi_main_3 = DecimalParameter(77.0, 90.0, default=82, space='sell', decimals=1, optimize=False, load=True)
sell_dual_rsi_rsi_4 = DecimalParameter(72.0, 84.0, default=73.4, space='sell', decimals=1, optimize=False, load=True)
sell_dual_rsi_rsi_1h_4 = DecimalParameter(78.0, 92.0, default=79.6, space='sell', decimals=1, optimize=False, load=True)
sell_ema_relative_5 = DecimalParameter(0.005, 0.05, default=0.024, space='sell', optimize=False, load=True)
sell_rsi_diff_5 = DecimalParameter(0.0, 20.0, default=4.4, space='sell', optimize=False, load=True)
sell_rsi_under_6 = DecimalParameter(72.0, 90.0, default=79.0, space='sell', decimals=1, optimize=False, load=True)
sell_rsi_1h_7 = DecimalParameter(80.0, 95.0, default=81.7, space='sell', decimals=1, optimize=False, load=True)
sell_bb_relative_8 = DecimalParameter(1.05, 1.3, default=1.1, space='sell', decimals=3, optimize=False, load=True)
sell_custom_profit_0 = DecimalParameter(0.01, 0.1, default=0.01, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_0 = DecimalParameter(30.0, 40.0, default=34.0, space='sell', decimals=3, optimize=False, load=True)
sell_custom_profit_1 = DecimalParameter(0.01, 0.1, default=0.02, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_1 = DecimalParameter(30.0, 50.0, default=35.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_2 = DecimalParameter(0.01, 0.1, default=0.03, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_2 = DecimalParameter(30.0, 50.0, default=37.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_3 = DecimalParameter(0.01, 0.1, default=0.04, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_3 = DecimalParameter(30.0, 50.0, default=42.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_4 = DecimalParameter(0.01, 0.1, default=0.05, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_4 = DecimalParameter(35.0, 50.0, default=43.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_5 = DecimalParameter(0.01, 0.1, default=0.06, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_5 = DecimalParameter(35.0, 50.0, default=45.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_6 = DecimalParameter(0.01, 0.1, default=0.07, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_6 = DecimalParameter(38.0, 55.0, default=48.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_7 = DecimalParameter(0.01, 0.1, default=0.08, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_7 = DecimalParameter(40.0, 58.0, default=54.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_8 = DecimalParameter(0.06, 0.1, default=0.09, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_8 = DecimalParameter(40.0, 50.0, default=55.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_9 = DecimalParameter(0.05, 0.14, default=0.1, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_9 = DecimalParameter(40.0, 60.0, default=54.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_10 = DecimalParameter(0.1, 0.14, default=0.12, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_10 = DecimalParameter(38.0, 50.0, default=42.0, space='sell', decimals=2, optimize=False, load=True)
sell_custom_profit_11 = DecimalParameter(0.16, 0.45, default=0.20, space='sell', decimals=3, optimize=False, load=True)
sell_custom_rsi_11 = DecimalParameter(28.0, 40.0, default=34.0, space='sell', decimals=2, optimize=False, load=True)
# Profit under EMA200
sell_custom_under_profit_0 = DecimalParameter(0.01, 0.4, default=0.01, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_0 = DecimalParameter(28.0, 40.0, default=35.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_1 = DecimalParameter(0.01, 0.10, default=0.02, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_1 = DecimalParameter(36.0, 60.0, default=56.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_2 = DecimalParameter(0.01, 0.10, default=0.03, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_2 = DecimalParameter(46.0, 66.0, default=57.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_3 = DecimalParameter(0.01, 0.10, default=0.04, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_3 = DecimalParameter(50.0, 68.0, default=58.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_4 = DecimalParameter(0.02, 0.1, default=0.05, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_4 = DecimalParameter(50.0, 68.0, default=59.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_5 = DecimalParameter(0.02, 0.1, default=0.06, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_5 = DecimalParameter(46.0, 62.0, default=60.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_6 = DecimalParameter(0.03, 0.1, default=0.07, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_6 = DecimalParameter(44.0, 60.0, default=56.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_7 = DecimalParameter(0.04, 0.1, default=0.08, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_7 = DecimalParameter(46.0, 60.0, default=54.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_8 = DecimalParameter(0.06, 0.12, default=0.09, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_8 = DecimalParameter(40.0, 58.0, default=55.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_9 = DecimalParameter(0.08, 0.14, default=0.1, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_9 = DecimalParameter(40.0, 60.0, default=54.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_10 = DecimalParameter(0.1, 0.16, default=0.12, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_10 = DecimalParameter(30.0, 50.0, default=42.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_under_profit_11 = DecimalParameter(0.16, 0.3, default=0.2, space='sell', decimals=3, optimize=False, load=True)
sell_custom_under_rsi_11 = DecimalParameter(24.0, 40.0, default=34.0, space='sell', decimals=1, optimize=False, load=True)
# Profit targets for pumped pairs 48h 1
sell_custom_pump_profit_1_1 = DecimalParameter(0.01, 0.03, default=0.01, space='sell', decimals=3, optimize=False, load=True)
sell_custom_pump_rsi_1_1 = DecimalParameter(26.0, 40.0, default=34.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_pump_profit_1_2 = DecimalParameter(0.01, 0.6, default=0.02, space='sell', decimals=3, optimize=False, load=True)
sell_custom_pump_rsi_1_2 = DecimalParameter(36.0, 50.0, default=40.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_pump_profit_1_3 = DecimalParameter(0.02, 0.10, default=0.04, space='sell', decimals=3, optimize=False, load=True)
sell_custom_pump_rsi_1_3 = DecimalParameter(38.0, 50.0, default=42.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_pump_profit_1_4 = DecimalParameter(0.06, 0.12, default=0.1, space='sell', decimals=3, optimize=False, load=True)
sell_custom_pump_rsi_1_4 = DecimalParameter(36.0, 48.0, default=42.0, space='sell', decimals=1, optimize=False, load=True)
sell_custom_pump_profit_1_5 = DecimalParameter(0.14, 0.24, default=0.2, space='sell', decimals=3, optimize=False, load=True)
sell_custom_pump_rsi_1_5 = DecimalParameter(20.0, 40.0, default=34.0, space='sell', decimals=1, optimize=False, load=True)
# Profit targets for pumped pairs 36h 1
sell_custom_pump_profit_2_1 = DecimalParameter(0.01, 0.03, default=0.01, space='sell', decimals=3, optimize=False, load=True)