Skip to content

Instantly share code, notes, and snippets.

@fatherofluqmaan
Created August 12, 2021 22:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatherofluqmaan/cfe587cfcded08f217163c3ca74a06f0 to your computer and use it in GitHub Desktop.
Save fatherofluqmaan/cfe587cfcded08f217163c3ca74a06f0 to your computer and use it in GitHub Desktop.
{
"coinbasepro" : {
"api_url" : "https://api.pro.coinbase.com",
"api_key_file" : "coinbase.key",
"config" : {
"live" : 0,
"sellatloss" : 0,
"sellatresistance" : 0,
"trailingstoploss" : -1.5,
"disablebullonly" : 1,
"disablebuynearhigh" : 1,
"disablebuymacd" : 1,
"disablebuyobv" : 0,
"disablebuyelderray" : 0,
"disablefailsafefibonaccilow" : 1,
"disableprofitbankreversal" : 1,
"disabletracker" : 1,
"autorestart" : 1,
"graphs" : 0,
"verbose" : 0,
"stats" : 0
}
}
2021-08-12 21:51:28-'gran:3600'--1INCH-GBP Margin : 1.7407%
2021-08-12 21:51:28-'gran:3600'--AAVE-GBP Margin : 8.7925%
2021-08-12 21:51:28-'gran:3600'--ADA-GBP Margin : 14.7879%
2021-08-12 21:51:28-'gran:3600'--ANKR-GBP Margin : 14.3337%
2021-08-12 21:51:28-'gran:3600'--BAND-GBP Margin : 32.5912%
2021-08-12 21:51:28-'gran:3600'--BCH-GBP Margin : 0.6246%
2021-08-12 21:51:28-'gran:3600'--BNT-GBP Margin : 11.0652%
2021-08-12 21:51:28-'gran:3600'--BTC-GBP Margin : 9.5753%
2021-08-12 21:51:28-'gran:3600'--CGLD-GBP Margin : 8.1530%
2021-08-12 21:51:28-'gran:3600'--CHZ-GBP Margin : 9.9559%
2021-08-12 21:51:28-'gran:3600'--CLV-GBP Margin : 5.8940%
2021-08-12 21:51:28-'gran:3600'--CRV-GBP Margin : 8.7354%
2021-08-12 21:51:28-'gran:3600'--DOGE-GBP Margin : 8.7241%
2021-08-12 21:51:28-'gran:3600'--DOT-GBP Margin : 27.0465%
2021-08-12 21:51:28-'gran:3600'--ETC-GBP Margin : 8.0851%
2021-08-12 21:51:28-'gran:3600'--ETH-GBP Margin : 17.1046%
2021-08-12 21:51:28-'gran:3600'--FIL-GBP Margin : 24.2868%
2021-08-12 21:51:28-'gran:3600'--FORTH-GBP Margin : 8.2540%
2021-08-12 21:51:28-'gran:3600'--GRT-GBP Margin : 17.8646%
2021-08-12 21:51:28-'gran:3600'--ICP-GBP Margin : 18.7057%
2021-08-12 21:51:28-'gran:3600'--LINK-GBP Margin : 11.0810%
2021-08-12 21:51:28-'gran:3600'--LTC-GBP Margin : 8.0669%
2021-08-12 21:51:28-'gran:3600'--MASK-GBP Margin : 38.7041%
2021-08-12 21:51:28-'gran:3600'--MATIC-GBP Margin : 8.3581%
2021-08-12 21:51:28-'gran:3600'--MIR-GBP Margin : 8.1476%
2021-08-12 21:51:28-'gran:3600'--NU-GBP Margin : 18.8695%
2021-08-12 21:51:28-'gran:3600'--OMG-GBP Margin : 16.9524%
2021-08-12 21:51:28-'gran:3600'--RLY-GBP Margin : -6.1670%
2021-08-12 21:51:28-'gran:3600'--SKL-GBP Margin : 19.3319%
2021-08-12 21:51:28-'gran:3600'--SOL-GBP Margin : 19.6103%
2021-08-12 21:51:28-'gran:3600'--SUSHI-GBP Margin : 11.5109%
2021-08-12 21:51:28-'gran:3600'--UMA-GBP Margin : 26.4962%
2021-08-12 21:51:28-'gran:3600'--XTZ-GBP Margin : 9.6863%
# to highlight the reason -6% happened, 2 trades, one approx. -13% & one approx. ~8%
--------------------------------------------------------------------------------
| Python Crypto Bot |
--------------------------------------------------------------------------------
| Release : v3.2.4 |
--------------------------------------------------------------------------------
| Bot Mode : TEST - test trades using dummy funds :) |
| Bot Started : 2021-08-12 22:02:04.217214 |
================================================================================
| Trailing Stop Loss : -1.5% |
| Sell At Loss : False --sellatloss False |
| Sell At Resistance : False --sellatresistance |
| Trade Bull Only : False --disablebullonly |
| Buy Near High : False --disablebuynearhigh |
| Use Buy MACD : False --disablebuymacd |
| Use Buy EMA : True --disablebuyema |
| Use Buy OBV : True --disablebuyobv |
| Use Buy Elder-Ray : True --disablebuyelderray |
| Sell Fibonacci Low : False --disablefailsafefibonaccilow |
| Candlestick Reversal : False --disableprofitbankreversal |
| Telegram : False --disabletelegram |
| Log : True --disablelog |
| Tracker : False --disabletracker |
| Auto restart Bot : True --autorestart |
================================================================================
| Sampling start : 2021-07-30T00:00:00 |
| Sampling end : 2021-08-11T00:00:00 |
| WARNING: Using less than 300 intervals |
| Interval size : 244 |
================================================================================
2021-07-30 01:00:00 | RLY-GBP | 3600 | Close: 0.3196 | EMA12/26: 0.3196 = 0.3196OBV: 0.0 (0.0000%) | ERI: | WAIT | Last Action: SELL
2021-07-30 02:00:00 | RLY-GBP | 3600 | Close: 0.3099 | *v EMA12/26: 0.3181 < 0.3188 v* | v OBV: 0.0 (-49.8000%) v | ERI: buy | WAIT | Last Action: SELL
2021-07-30 03:00:00 | RLY-GBP | 3600 | Close: 0.3099 | v EMA12/26: 0.3168 < 0.3182 v | OBV: 0.0 (0.0000%) | ERI: buy | WAIT | Last Action: SELL
2021-07-30 04:00:00 | RLY-GBP | 3600 | Close: 0.3139 | v EMA12/26: 0.3163 < 0.3178 v | ^ OBV: 0.0 (50.2700%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-30 05:00:00 | RLY-GBP | 3600 | Close: 0.3147 | v EMA12/26: 0.3161 < 0.3176 v | ^ OBV: 0.0 (28.2400%) ^ | ERI: buy | WAIT | Last Action: SELL
*** Candlestick Detected: Evening Star ("Strong - Reversal - Bearish Pattern - Down")
2021-07-30 06:00:00 | RLY-GBP | 3600 | Close: 0.3121 | v EMA12/26: 0.3155 < 0.3172 v | v OBV: 0.0 (-68.1600%) v | ERI: sell | WAIT | Last Action: SELL
2021-07-30 07:00:00 | RLY-GBP | 3600 | Close: 0.3100 | v EMA12/26: 0.3146 < 0.3167 v | v OBV: 0.0 (-81.2500%) v | ERI: buy | WAIT | Last Action: SELL
2021-07-30 08:00:00 | RLY-GBP | 3600 | Close: 0.3075 | v EMA12/26: 0.3135 < 0.3160 v | v OBV: 0.0 (-1178.6401%) v | ERI: sell | WAIT | Last Action: SELL
2021-07-30 09:00:00 | RLY-GBP | 3600 | Close: 0.3056 | v EMA12/26: 0.3123 < 0.3152 v | ^ OBV: 0.0 (182.6800%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-07-30 10:00:00 | RLY-GBP | 3600 | Close: 0.3053 | v EMA12/26: 0.3112 < 0.3145 v | ^ OBV: 0.0 (23.5700%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-30 11:00:00 | RLY-GBP | 3600 | Close: 0.2968 | v EMA12/26: 0.3090 < 0.3132 v | ^ OBV: 0.0 (18.8200%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-30 12:00:00 | RLY-GBP | 3600 | Close: 0.3004 | v EMA12/26: 0.3077 < 0.3122 v | v OBV: 0.0 (-19.3000%) v | ERI: buy | WAIT | Last Action: SELL
2021-07-30 14:00:00 | RLY-GBP | 3600 | Close: 0.3009 | v EMA12/26: 0.3066 < 0.3114 v | v OBV: 0.0 (-100.2500%) v | ERI: buy | WAIT | Last Action: SELL
2021-07-30 15:00:00 | RLY-GBP | 3600 | Close: 0.3035 | v EMA12/26: 0.3061 < 0.3108 v | ^ OBV: 0.0 (8607.4100%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-30 16:00:00 | RLY-GBP | 3600 | Close: 0.3039 | v EMA12/26: 0.3058 < 0.3103 v | ^ OBV: 0.0 (71.4200%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-07-30 17:00:00 | RLY-GBP | 3600 | Close: 0.3060 | v EMA12/26: 0.3058 < 0.3099 v | ^ OBV: 0.0 (37.0200%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-30 18:00:00 | RLY-GBP | 3600 | Close: 0.3065 | v EMA12/26: 0.3059 < 0.3097 v | ^ OBV: 0.0 (35.5300%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-30 19:00:00 | RLY-GBP | 3600 | Close: 0.3091 | v EMA12/26: 0.3064 < 0.3096 v | ^ OBV: 0.0 (12.4800%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-30 20:00:00 | RLY-GBP | 3600 | Close: 0.3086 | v EMA12/26: 0.3067 < 0.3096 v | v OBV: 0.0 (-27.0100%) v | ERI: sell | WAIT | Last Action: SELL
2021-07-30 21:00:00 | RLY-GBP | 3600 | Close: 0.3150 | v EMA12/26: 0.3080 < 0.3100 v | ^ OBV: 0.0 (59.2900%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-30 22:00:00 | RLY-GBP | 3600 | Close: 0.3125 | v EMA12/26: 0.3087 < 0.3101 v | v OBV: 0.0 (-34.6300%) v | ERI: sell | WAIT | Last Action: SELL
2021-07-30 23:00:00 | RLY-GBP | 3600 | Close: 0.3138 | v EMA12/26: 0.3095 < 0.3104 v | ^ OBV: 0.0 (19.6000%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-07-31 00:00:00 | RLY-GBP | 3600 | Close: 0.3186 | v EMA12/26: 0.3109 < 0.3110 v | ^ OBV: 0.0 (34.1700%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-31 02:00:00 | RLY-GBP | 3600 | Close: 0.3156 | *^ EMA12/26: 0.3116 > 0.3114 ^* | v OBV: 0.0 (-2.2000%) v | ERI: sell | WAIT | Last Action: SELL
2021-07-31 05:00:00 | RLY-GBP | 3600 | Close: 0.3122 | ^ EMA12/26: 0.3117 > 0.3114 ^ | v OBV: 0.0 (-2.5500%) v | ERI: sell | WAIT | Last Action: SELL
2021-07-31 06:00:00 | RLY-GBP | 3600 | Close: 0.3122 | ^ EMA12/26: 0.3117 > 0.3115 ^ | OBV: 0.0 (0.0000%) | ERI: sell | WAIT | Last Action: SELL
2021-07-31 07:00:00 | RLY-GBP | 3600 | Close: 0.3116 | ^ EMA12/26: 0.3117 > 0.3115 ^ | v OBV: 0.0 (-1.5800%) v | ERI: sell | WAIT | Last Action: SELL
2021-07-31 08:00:00 | RLY-GBP | 3600 | Close: 0.3124 | ^ EMA12/26: 0.3118 > 0.3115 ^ | ^ OBV: 0.0 (4.2600%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-31 09:00:00 | RLY-GBP | 3600 | Close: 0.3166 | ^ EMA12/26: 0.3126 > 0.3119 ^ | ^ OBV: 0.0 (16.8299%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-31 10:00:00 | RLY-GBP | 3600 | Close: 0.3150 | ^ EMA12/26: 0.3129 > 0.3121 ^ | v OBV: 0.0 (-14.6500%) v | ERI: sell | WAIT | Last Action: SELL
2021-07-31 11:00:00 | RLY-GBP | 3600 | Close: 0.3158 | ^ EMA12/26: 0.3134 > 0.3124 ^ | ^ OBV: 0.0 (3.0200%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-07-31 12:00:00 | RLY-GBP | 3600 | Close: 0.3162 | ^ EMA12/26: 0.3138 > 0.3127 ^ | ^ OBV: 0.0 (25.1300%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-07-31 13:00:00 | RLY-GBP | 3600 | Close: 0.3157 | ^ EMA12/26: 0.3141 > 0.3129 ^ | v OBV: 0.0 (-24.6400%) v | ERI: buy | WAIT | Last Action: SELL
2021-07-31 14:00:00 | RLY-GBP | 3600 | Close: 0.3161 | ^ EMA12/26: 0.3144 > 0.3131 ^ | ^ OBV: 0.0 (4.3099%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-07-31 15:00:00 | RLY-GBP | 3600 | Close: 0.3197 | ^ EMA12/26: 0.3152 > 0.3136 ^ | ^ OBV: 0.0 (15.9900%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-31 16:00:00 | RLY-GBP | 3600 | Close: 0.3217 | ^ EMA12/26: 0.3162 > 0.3142 ^ | ^ OBV: 0.0 (8.0100%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-31 17:00:00 | RLY-GBP | 3600 | Close: 0.3242 | ^ EMA12/26: 0.3174 > 0.3150 ^ | ^ OBV: 0.0 (22.7000%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-31 18:00:00 | RLY-GBP | 3600 | Close: 0.3259 | ^ EMA12/26: 0.3187 > 0.3158 ^ | ^ OBV: 0.0 (20.1500%) ^ | ERI: buy | WAIT | Last Action: SELL
*** Candlestick Detected: Three White Soldiers ("Strong - Reversal - Bullish Pattern - Up")
2021-07-31 19:00:00 | RLY-GBP | 3600 | Close: 0.3285 | ^ EMA12/26: 0.3202 > 0.3167 ^ | ^ OBV: 0.0 (18.7500%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-31 20:00:00 | RLY-GBP | 3600 | Close: 0.3352 | ^ EMA12/26: 0.3225 > 0.3181 ^ | ^ OBV: 0.0 (23.9000%) ^ | ERI: buy | WAIT | Last Action: SELL
* Candlestick Detected: Shooting Star ("Weak - Reversal - Bearish Pattern - Down")
* Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
2021-07-31 21:00:00 | RLY-GBP | 3600 | Close: 0.3358 | ^ EMA12/26: 0.3246 > 0.3194 ^ | ^ OBV: 0.0 (22.3100%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-07-31 22:00:00 | RLY-GBP | 3600 | Close: 0.3525 | ^ EMA12/26: 0.3289 > 0.3218 ^ | ^ OBV: 0.0 (89.7400%) ^ | ERI: buy | WAIT | Last Action: SELL
* Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
2021-07-31 23:00:00 | RLY-GBP | 3600 | Close: 0.3545 | ^ EMA12/26: 0.3328 > 0.3243 ^ | ^ OBV: 0.0 (59.4100%) ^ | ERI: buy | WAIT | Last Action: SELL
*** Candlestick Detected: Evening Star ("Strong - Reversal - Bearish Pattern - Down")
** Candlestick Detected: Evening Doji Star ("Reliable - Reversal - Bearish Pattern - Down")
2021-08-01 00:00:00 | RLY-GBP | 3600 | Close: 0.3429 | ^ EMA12/26: 0.3343 > 0.3256 ^ | v OBV: 0.0 (-40.0300%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-01 01:00:00 | RLY-GBP | 3600 | Close: 0.3350 | ^ EMA12/26: 0.3344 > 0.3263 ^ | v OBV: 0.0 (-15.0800%) v | ERI: sell | WAIT | Last Action: SELL
* Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up")
2021-08-01 02:00:00 | RLY-GBP | 3600 | Close: 0.3330 | ^ EMA12/26: 0.3342 > 0.3268 ^ | v OBV: 0.0 (-12.6700%) v | ERI: sell | WAIT | Last Action: SELL
*** Candlestick Detected: Morning Star ("Strong - Reversal - Bullish Pattern - Up")
2021-08-01 03:00:00 | RLY-GBP | 3600 | Close: 0.3346 | ^ EMA12/26: 0.3343 > 0.3274 ^ | ^ OBV: 0.0 (4.7200%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-01 04:00:00 | RLY-GBP | 3600 | Close: 0.3346 | ^ EMA12/26: 0.3343 > 0.3279 ^ | OBV: 0.0 (0.0000%) | ERI: buy | WAIT | Last Action: SELL
* Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up")
2021-08-01 05:00:00 | RLY-GBP | 3600 | Close: 0.3357 | ^ EMA12/26: 0.3345 > 0.3285 ^ | ^ OBV: 0.0 (12.5100%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-01 06:00:00 | RLY-GBP | 3600 | Close: 0.3312 | ^ EMA12/26: 0.3340 > 0.3287 ^ | v OBV: 0.0 (-1.1000%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-01 07:00:00 | RLY-GBP | 3600 | Close: 0.3303 | ^ EMA12/26: 0.3334 > 0.3288 ^ | v OBV: 0.0 (-5.3600%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-01 08:00:00 | RLY-GBP | 3600 | Close: 0.3293 | ^ EMA12/26: 0.3328 > 0.3288 ^ | v OBV: 0.0 (-7.5100%) v | ERI: sell | WAIT | Last Action: SELL
* Candlestick Detected: Shooting Star ("Weak - Reversal - Bearish Pattern - Down")
2021-08-01 09:00:00 | RLY-GBP | 3600 | Close: 0.3300 | ^ EMA12/26: 0.3323 > 0.3289 ^ | ^ OBV: 0.0 (36.4500%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-01 10:00:00 | RLY-GBP | 3600 | Close: 0.3311 | ^ EMA12/26: 0.3321 > 0.3291 ^ | ^ OBV: 0.0 (1.7700%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-01 11:00:00 | RLY-GBP | 3600 | Close: 0.3284 | ^ EMA12/26: 0.3316 > 0.3290 ^ | v OBV: 0.0 (-0.4300%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-01 12:00:00 | RLY-GBP | 3600 | Close: 0.3282 | ^ EMA12/26: 0.3310 > 0.3290 ^ | v OBV: 0.0 (-6.6000%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-01 13:00:00 | RLY-GBP | 3600 | Close: 0.3260 | ^ EMA12/26: 0.3303 > 0.3287 ^ | v OBV: 0.0 (-0.1500%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-01 14:00:00 | RLY-GBP | 3600 | Close: 0.3239 | ^ EMA12/26: 0.3293 > 0.3284 ^ | v OBV: 0.0 (-8.0000%) v | ERI: sell | WAIT | Last Action: SELL
*** Candlestick Detected: Morning Star ("Strong - Reversal - Bullish Pattern - Up")
** Candlestick Detected: Abandoned Baby ("Reliable - Reversal - Bullish Pattern - Up")
2021-08-01 15:00:00 | RLY-GBP | 3600 | Close: 0.3282 | ^ EMA12/26: 0.3291 > 0.3284 ^ | ^ OBV: 0.0 (0.8700%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-01 16:00:00 | RLY-GBP | 3600 | Close: 0.3239 | ^ EMA12/26: 0.3283 > 0.3280 ^ | v OBV: 0.0 (-7.1300%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-01 17:00:00 | RLY-GBP | 3600 | Close: 0.3236 | *v EMA12/26: 0.3276 < 0.3277 v* | v OBV: 0.0 (-0.6500%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-01 18:00:00 | RLY-GBP | 3600 | Close: 0.3248 | v EMA12/26: 0.3271 < 0.3275 v | ^ OBV: 0.0 (6.8500%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-01 19:00:00 | RLY-GBP | 3600 | Close: 0.3294 | v EMA12/26: 0.3275 < 0.3276 v | ^ OBV: 0.0 (12.1199%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-01 20:00:00 | RLY-GBP | 3600 | Close: 0.3312 | *^ EMA12/26: 0.3280 > 0.3279 ^* | ^ OBV: 0.0 (9.4300%) ^ | ERI: buy | BUY | Last Action: SELL
2021-08-01 20:00:00 | RLY-GBP | 3600 | Close: 0.3312 | BUY
Resistance level of 0.5998 formed at 2021-08-10 16:00:00
Fibonacci Retracement Levels:{'ratio1': 0.28, 'ratio0_768': 0.33}
2021-08-01 21:00:00 | RLY-GBP | 3600 | Close: 0.3308 | ^ EMA12/26: 0.3285 > 0.3281 ^ | v OBV: 0.0 (-1.7600%) v | ERI: sell | WAIT | Last Action: BUY | -1.1171% (delta: -0.0004)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-01 22:00:00 | RLY-GBP | 3600 | Close: 0.3248 | ^ EMA12/26: 0.3279 > 0.3278 ^ | v OBV: 0.0 (-2.3900%) v | ERI: sell | WAIT | Last Action: BUY | -2.9106% (delta: -0.0064)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
! Ignore Sell Signal (No Sell At Loss)
2021-08-01 23:00:00 | RLY-GBP | 3600 | Close: 0.3222 | *v EMA12/26: 0.3270 < 0.3274 v* | v OBV: 0.0 (-5.2100%) v | ERI: sell | WAIT | Last Action: BUY | -3.6579% (delta: -0.0089)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 00:00:00 | RLY-GBP | 3600 | Close: 0.3152 | v EMA12/26: 0.3252 < 0.3265 v | v OBV: 0.0 (-13.6200%) v | ERI: sell | WAIT | Last Action: BUY | -5.7803% (delta: -0.016)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 01:00:00 | RLY-GBP | 3600 | Close: 0.3171 | v EMA12/26: 0.3239 < 0.3258 v | ^ OBV: 0.0 (2.8900%) ^ | ERI: buy | WAIT | Last Action: BUY | -5.2123% (delta: -0.0141)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 03:00:00 | RLY-GBP | 3600 | Close: 0.3175 | v EMA12/26: 0.3229 < 0.3252 v | ^ OBV: 0.0 (0.7200%) ^ | ERI: buy | WAIT | Last Action: BUY | -5.0928% (delta: -0.0137)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 05:00:00 | RLY-GBP | 3600 | Close: 0.3169 | v EMA12/26: 0.3220 < 0.3246 v | v OBV: 0.0 (-5.2200%) v | ERI: sell | WAIT | Last Action: BUY | -5.2721% (delta: -0.0143)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 06:00:00 | RLY-GBP | 3600 | Close: 0.3210 | v EMA12/26: 0.3218 < 0.3243 v | ^ OBV: 0.0 (3.6600%) ^ | ERI: buy | WAIT | Last Action: BUY | -4.0465% (delta: -0.0102)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 08:00:00 | RLY-GBP | 3600 | Close: 0.3189 | v EMA12/26: 0.3214 < 0.3239 v | v OBV: 0.0 (-5.4900%) v | ERI: buy | WAIT | Last Action: BUY | -4.6743% (delta: -0.0123)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 09:00:00 | RLY-GBP | 3600 | Close: 0.3176 | v EMA12/26: 0.3208 < 0.3234 v | v OBV: 0.0 (-5.1700%) v | ERI: sell | WAIT | Last Action: BUY | -5.0629% (delta: -0.0136)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 10:00:00 | RLY-GBP | 3600 | Close: 0.3180 | v EMA12/26: 0.3204 < 0.3230 v | ^ OBV: 0.0 (3.5300%) ^ | ERI: buy | WAIT | Last Action: BUY | -4.9433% (delta: -0.0132)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 11:00:00 | RLY-GBP | 3600 | Close: 0.3187 | v EMA12/26: 0.3201 < 0.3227 v | ^ OBV: 0.0 (1.6400%) ^ | ERI: buy | WAIT | Last Action: BUY | -4.7341% (delta: -0.0125)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 12:00:00 | RLY-GBP | 3600 | Close: 0.3197 | v EMA12/26: 0.3200 < 0.3225 v | ^ OBV: 0.0 (1.0000%) ^ | ERI: buy | WAIT | Last Action: BUY | -4.4351% (delta: -0.0115)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
* Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up")
2021-08-02 13:00:00 | RLY-GBP | 3600 | Close: 0.3186 | v EMA12/26: 0.3198 < 0.3222 v | v OBV: 0.0 (-8.9200%) v | ERI: sell | WAIT | Last Action: BUY | -4.7639% (delta: -0.0126)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 14:00:00 | RLY-GBP | 3600 | Close: 0.3230 | v EMA12/26: 0.3203 < 0.3222 v | ^ OBV: 0.0 (4.6300%) ^ | ERI: buy | WAIT | Last Action: BUY | -3.4487% (delta: -0.0082)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 15:00:00 | RLY-GBP | 3600 | Close: 0.3231 | v EMA12/26: 0.3207 < 0.3223 v | ^ OBV: 0.0 (0.9300%) ^ | ERI: sell | WAIT | Last Action: BUY | -3.4188% (delta: -0.0081)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 16:00:00 | RLY-GBP | 3600 | Close: 0.3227 | v EMA12/26: 0.3210 < 0.3223 v | v OBV: 0.0 (-30.5800%) v | ERI: sell | WAIT | Last Action: BUY | -3.5384% (delta: -0.0085)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 17:00:00 | RLY-GBP | 3600 | Close: 0.3249 | v EMA12/26: 0.3216 < 0.3225 v | ^ OBV: 0.0 (0.2900%) ^ | ERI: buy | WAIT | Last Action: BUY | -2.8807% (delta: -0.0063)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 19:00:00 | RLY-GBP | 3600 | Close: 0.3186 | v EMA12/26: 0.3211 < 0.3222 v | v OBV: 0.0 (-14.6700%) v | ERI: buy | WAIT | Last Action: BUY | -4.7639% (delta: -0.0126)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 20:00:00 | RLY-GBP | 3600 | Close: 0.3220 | v EMA12/26: 0.3213 < 0.3222 v | ^ OBV: 0.0 (23.7900%) ^ | ERI: buy | WAIT | Last Action: BUY | -3.7476% (delta: -0.0092)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
! Trailing Stop Loss Triggered (< -1.5%)
2021-08-02 21:00:00 | RLY-GBP | 3600 | Close: 0.2900 | v EMA12/26: 0.3164 < 0.3198 v | v OBV: 0.0 (-14.0900%) v | ERI: buy | SELL | Last Action: BUY | -13.3131% (delta: -0.0412)
support: 0.29, resistance: 0.2967, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-02 21:00:00 | RLY-GBP | 3600 | SELL | 0.29 | BUY | 0.3312 | DIFF | -0.041200000000000014 | DIFF | -133.13028382 | MARGIN NO FEES | -13.3131% | MARGIN FEES | 4.3561
2021-08-02 22:00:00 | RLY-GBP | 3600 | Close: 0.3209 | v EMA12/26: 0.3171 < 0.3199 v | ^ OBV: 0.0 (3.6200%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-03 00:00:00 | RLY-GBP | 3600 | Close: 0.3199 | v EMA12/26: 0.3175 < 0.3199 v | v OBV: 0.0 (-8.6500%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-03 01:00:00 | RLY-GBP | 3600 | Close: 0.3154 | v EMA12/26: 0.3172 < 0.3196 v | v OBV: 0.0 (-8.9500%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-03 03:00:00 | RLY-GBP | 3600 | Close: 0.3079 | v EMA12/26: 0.3158 < 0.3187 v | v OBV: 0.0 (-3.2500%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-03 05:00:00 | RLY-GBP | 3600 | Close: 0.3061 | v EMA12/26: 0.3143 < 0.3177 v | v OBV: 0.0 (-14.0200%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-03 06:00:00 | RLY-GBP | 3600 | Close: 0.3060 | v EMA12/26: 0.3130 < 0.3169 v | v OBV: 0.0 (-1.0900%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-03 07:00:00 | RLY-GBP | 3600 | Close: 0.3057 | v EMA12/26: 0.3119 < 0.3160 v | v OBV: 0.0 (-0.5500%) v | ERI: buy | WAIT | Last Action: SELL
* Candlestick Detected: Shooting Star ("Weak - Reversal - Bearish Pattern - Down")
2021-08-03 08:00:00 | RLY-GBP | 3600 | Close: 0.3064 | v EMA12/26: 0.3110 < 0.3153 v | ^ OBV: 0.0 (1.0600%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-03 10:00:00 | RLY-GBP | 3600 | Close: 0.3079 | v EMA12/26: 0.3105 < 0.3148 v | ^ OBV: 0.0 (14.9200%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-03 12:00:00 | RLY-GBP | 3600 | Close: 0.3066 | v EMA12/26: 0.3099 < 0.3142 v | v OBV: 0.0 (-1.9400%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-03 13:00:00 | RLY-GBP | 3600 | Close: 0.3091 | v EMA12/26: 0.3098 < 0.3138 v | ^ OBV: 0.0 (0.8400%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-03 14:00:00 | RLY-GBP | 3600 | Close: 0.3085 | v EMA12/26: 0.3096 < 0.3134 v | v OBV: 0.0 (-7.0500%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-03 16:00:00 | RLY-GBP | 3600 | Close: 0.3081 | v EMA12/26: 0.3094 < 0.3130 v | v OBV: 0.0 (-7.5100%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-03 17:00:00 | RLY-GBP | 3600 | Close: 0.3060 | v EMA12/26: 0.3088 < 0.3125 v | v OBV: 0.0 (-1.6101%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-03 18:00:00 | RLY-GBP | 3600 | Close: 0.3045 | v EMA12/26: 0.3082 < 0.3119 v | v OBV: 0.0 (-17.8400%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-03 19:00:00 | RLY-GBP | 3600 | Close: 0.3049 | v EMA12/26: 0.3076 < 0.3114 v | ^ OBV: 0.0 (1.1100%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-03 20:00:00 | RLY-GBP | 3600 | Close: 0.3007 | v EMA12/26: 0.3066 < 0.3106 v | v OBV: 0.0 (-18.2601%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-03 21:00:00 | RLY-GBP | 3600 | Close: 0.3039 | v EMA12/26: 0.3062 < 0.3101 v | ^ OBV: 0.0 (0.9800%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-03 22:00:00 | RLY-GBP | 3600 | Close: 0.3053 | v EMA12/26: 0.3060 < 0.3097 v | ^ OBV: 0.0 (18.7200%) ^ | ERI: buy | WAIT | Last Action: SELL
*** Candlestick Detected: Evening Star ("Strong - Reversal - Bearish Pattern - Down")
2021-08-04 00:00:00 | RLY-GBP | 3600 | Close: 0.3026 | v EMA12/26: 0.3055 < 0.3092 v | v OBV: 0.0 (-22.6100%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-04 01:00:00 | RLY-GBP | 3600 | Close: 0.3015 | v EMA12/26: 0.3049 < 0.3086 v | v OBV: 0.0 (-5.4200%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-04 05:00:00 | RLY-GBP | 3600 | Close: 0.2988 | v EMA12/26: 0.3039 < 0.3079 v | v OBV: 0.0 (-23.9201%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-04 06:00:00 | RLY-GBP | 3600 | Close: 0.3005 | v EMA12/26: 0.3034 < 0.3073 v | ^ OBV: 0.0 (0.8500%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-04 07:00:00 | RLY-GBP | 3600 | Close: 0.2965 | v EMA12/26: 0.3023 < 0.3065 v | v OBV: 0.0 (-5.8700%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-04 09:00:00 | RLY-GBP | 3600 | Close: 0.2964 | v EMA12/26: 0.3014 < 0.3058 v | v OBV: 0.0 (-6.3300%) v | ERI: buy | WAIT | Last Action: SELL
*** Candlestick Detected: Morning Star ("Strong - Reversal - Bullish Pattern - Up")
2021-08-04 10:00:00 | RLY-GBP | 3600 | Close: 0.2987 | v EMA12/26: 0.3010 < 0.3052 v | ^ OBV: 0.0 (19.8600%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-04 12:00:00 | RLY-GBP | 3600 | Close: 0.3062 | v EMA12/26: 0.3018 < 0.3053 v | ^ OBV: 0.0 (26.7800%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-04 13:00:00 | RLY-GBP | 3600 | Close: 0.3116 | v EMA12/26: 0.3033 < 0.3058 v | ^ OBV: 0.0 (5.0800%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-04 14:00:00 | RLY-GBP | 3600 | Close: 0.3145 | v EMA12/26: 0.3050 < 0.3064 v | ^ OBV: 0.0 (3.5500%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-04 15:00:00 | RLY-GBP | 3600 | Close: 0.3175 | v EMA12/26: 0.3069 < 0.3072 v | ^ OBV: 0.0 (9.3900%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-04 16:00:00 | RLY-GBP | 3600 | Close: 0.3214 | *^ EMA12/26: 0.3091 > 0.3083 ^* | ^ OBV: 0.0 (41.9799%) ^ | ERI: buy | BUY | Last Action: SELL
2021-08-04 16:00:00 | RLY-GBP | 3600 | Close: 0.3214 | BUY
Resistance level of 0.5998 formed at 2021-08-10 16:00:00
Fibonacci Retracement Levels:{'ratio1': 0.28, 'ratio0_768': 0.33}
2021-08-04 17:00:00 | RLY-GBP | 3600 | Close: 0.3196 | ^ EMA12/26: 0.3107 > 0.3091 ^ | v OBV: 0.0 (-18.1500%) v | ERI: sell | WAIT | Last Action: BUY | -1.5520% (delta: -0.0018)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-04 18:00:00 | RLY-GBP | 3600 | Close: 0.3207 | ^ EMA12/26: 0.3123 > 0.3100 ^ | ^ OBV: 0.0 (0.3900%) ^ | ERI: sell | WAIT | Last Action: BUY | -1.2132% (delta: -0.0007)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-04 19:00:00 | RLY-GBP | 3600 | Close: 0.3209 | ^ EMA12/26: 0.3136 > 0.3108 ^ | ^ OBV: 0.0 (8.4100%) ^ | ERI: sell | WAIT | Last Action: BUY | -1.1516% (delta: -0.0005)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-04 21:00:00 | RLY-GBP | 3600 | Close: 0.3248 | ^ EMA12/26: 0.3153 > 0.3118 ^ | ^ OBV: 0.0 (6.9700%) ^ | ERI: buy | WAIT | Last Action: BUY | 0.0498% (delta: 0.0034)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-04 22:00:00 | RLY-GBP | 3600 | Close: 0.3256 | ^ EMA12/26: 0.3169 > 0.3128 ^ | ^ OBV: 0.0 (6.6100%) ^ | ERI: buy | WAIT | Last Action: BUY | 0.2962% (delta: 0.0042)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
*** Candlestick Detected: Evening Star ("Strong - Reversal - Bearish Pattern - Down")
2021-08-04 23:00:00 | RLY-GBP | 3600 | Close: 0.3232 | ^ EMA12/26: 0.3179 > 0.3136 ^ | v OBV: 0.0 (-39.4900%) v | ERI: sell | WAIT | Last Action: BUY | -0.4123% (delta: 0.0019)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 01:00:00 | RLY-GBP | 3600 | Close: 0.3253 | ^ EMA12/26: 0.3190 > 0.3145 ^ | ^ OBV: 0.0 (27.9300%) ^ | ERI: sell | WAIT | Last Action: BUY | 0.2038% (delta: 0.0039)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 02:00:00 | RLY-GBP | 3600 | Close: 0.3244 | ^ EMA12/26: 0.3198 > 0.3152 ^ | v OBV: 0.0 (-13.4400%) v | ERI: sell | WAIT | Last Action: BUY | -0.0734% (delta: 0.003)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 03:00:00 | RLY-GBP | 3600 | Close: 0.3241 | ^ EMA12/26: 0.3205 > 0.3159 ^ | v OBV: 0.0 (-9.2200%) v | ERI: buy | WAIT | Last Action: BUY | -0.1659% (delta: 0.0027)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 05:00:00 | RLY-GBP | 3600 | Close: 0.3237 | ^ EMA12/26: 0.3210 > 0.3164 ^ | v OBV: 0.0 (-25.2300%) v | ERI: sell | WAIT | Last Action: BUY | -0.2891% (delta: 0.0023)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 06:00:00 | RLY-GBP | 3600 | Close: 0.3231 | ^ EMA12/26: 0.3213 > 0.3169 ^ | v OBV: 0.0 (-4.7900%) v | ERI: sell | WAIT | Last Action: BUY | -0.4739% (delta: 0.0017)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 07:00:00 | RLY-GBP | 3600 | Close: 0.3232 | ^ EMA12/26: 0.3216 > 0.3174 ^ | ^ OBV: 0.0 (1.7300%) ^ | ERI: sell | WAIT | Last Action: BUY | -0.4123% (delta: 0.0019)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 08:00:00 | RLY-GBP | 3600 | Close: 0.3169 | ^ EMA12/26: 0.3209 > 0.3173 ^ | v OBV: 0.0 (-48.5901%) v | ERI: buy | WAIT | Last Action: BUY | -2.3837% (delta: -0.0045)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 09:00:00 | RLY-GBP | 3600 | Close: 0.3142 | ^ EMA12/26: 0.3198 > 0.3171 ^ | v OBV: 0.0 (-25.6000%) v | ERI: sell | WAIT | Last Action: BUY | -3.2154% (delta: -0.0072)
support: 0.3057, resistance: 0.3147, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 11:00:00 | RLY-GBP | 3600 | Close: 0.3177 | ^ EMA12/26: 0.3195 > 0.3172 ^ | ^ OBV: 0.0 (10.0200%) ^ | ERI: buy | WAIT | Last Action: BUY | -2.1373% (delta: -0.0037)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 12:00:00 | RLY-GBP | 3600 | Close: 0.3121 | ^ EMA12/26: 0.3183 > 0.3168 ^ | v OBV: 0.0 (-129.9700%) v | ERI: sell | WAIT | Last Action: BUY | -3.8623% (delta: -0.0093)
support: 0.3057, resistance: 0.3147, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 13:00:00 | RLY-GBP | 3600 | Close: 0.3158 | ^ EMA12/26: 0.3179 > 0.3167 ^ | v OBV: 0.0 (-242.6600%) v | ERI: sell | WAIT | Last Action: BUY | -2.7225% (delta: -0.0056)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 14:00:00 | RLY-GBP | 3600 | Close: 0.3255 | ^ EMA12/26: 0.3191 > 0.3173 ^ | ^ OBV: 0.0 (439.4000%) ^ | ERI: buy | WAIT | Last Action: BUY | 0.2654% (delta: 0.0041)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 15:00:00 | RLY-GBP | 3600 | Close: 0.3256 | ^ EMA12/26: 0.3201 > 0.3180 ^ | ^ OBV: 0.0 (14.9100%) ^ | ERI: sell | WAIT | Last Action: BUY | 0.2962% (delta: 0.0042)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 16:00:00 | RLY-GBP | 3600 | Close: 0.3260 | ^ EMA12/26: 0.3210 > 0.3185 ^ | ^ OBV: 0.0 (1.8400%) ^ | ERI: sell | WAIT | Last Action: BUY | 0.4194% (delta: 0.0046)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 17:00:00 | RLY-GBP | 3600 | Close: 0.3271 | ^ EMA12/26: 0.3219 > 0.3192 ^ | ^ OBV: 0.0 (2.1200%) ^ | ERI: sell | WAIT | Last Action: BUY | 0.7583% (delta: 0.0057)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
*** Candlestick Detected: Three White Soldiers ("Strong - Reversal - Bullish Pattern - Up")
2021-08-05 18:00:00 | RLY-GBP | 3600 | Close: 0.3335 | ^ EMA12/26: 0.3237 > 0.3202 ^ | ^ OBV: 0.0 (53.2700%) ^ | ERI: buy | WAIT | Last Action: BUY | 2.7297% (delta: 0.0121)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-05 19:00:00 | RLY-GBP | 3600 | Close: 0.3298 | ^ EMA12/26: 0.3246 > 0.3209 ^ | v OBV: 0.0 (-10.4800%) v | ERI: sell | WAIT | Last Action: BUY | 1.5899% (delta: 0.0084)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 20:00:00 | RLY-GBP | 3600 | Close: 0.3300 | ^ EMA12/26: 0.3254 > 0.3216 ^ | ^ OBV: 0.0 (11.9000%) ^ | ERI: sell | WAIT | Last Action: BUY | 1.6516% (delta: 0.0086)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-05 21:00:00 | RLY-GBP | 3600 | Close: 0.3260 | ^ EMA12/26: 0.3255 > 0.3219 ^ | v OBV: 0.0 (-7.5800%) v | ERI: sell | WAIT | Last Action: BUY | 0.4194% (delta: 0.0046)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 22:00:00 | RLY-GBP | 3600 | Close: 0.3252 | ^ EMA12/26: 0.3255 > 0.3222 ^ | v OBV: 0.0 (-10.0200%) v | ERI: buy | WAIT | Last Action: BUY | 0.1730% (delta: 0.0038)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-05 23:00:00 | RLY-GBP | 3600 | Close: 0.3287 | ^ EMA12/26: 0.3260 > 0.3226 ^ | ^ OBV: 0.0 (19.2800%) ^ | ERI: sell | WAIT | Last Action: BUY | 1.2511% (delta: 0.0073)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 00:00:00 | RLY-GBP | 3600 | Close: 0.3260 | ^ EMA12/26: 0.3260 > 0.3229 ^ | v OBV: 0.0 (-5.2700%) v | ERI: sell | WAIT | Last Action: BUY | 0.4194% (delta: 0.0046)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 02:00:00 | RLY-GBP | 3600 | Close: 0.3227 | ^ EMA12/26: 0.3255 > 0.3229 ^ | v OBV: 0.0 (-2.7401%) v | ERI: sell | WAIT | Last Action: BUY | -0.5663% (delta: 0.0014)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 03:00:00 | RLY-GBP | 3600 | Close: 0.3207 | ^ EMA12/26: 0.3247 > 0.3227 ^ | v OBV: 0.0 (-22.9201%) v | ERI: sell | WAIT | Last Action: BUY | -1.1824% (delta: -0.0006)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
*** Candlestick Detected: Morning Star ("Strong - Reversal - Bullish Pattern - Up")
2021-08-06 05:00:00 | RLY-GBP | 3600 | Close: 0.3227 | ^ EMA12/26: 0.3244 > 0.3227 ^ | ^ OBV: 0.0 (2.3900%) ^ | ERI: buy | WAIT | Last Action: BUY | -0.5971% (delta: 0.0013)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 06:00:00 | RLY-GBP | 3600 | Close: 0.3221 | ^ EMA12/26: 0.3241 > 0.3227 ^ | v OBV: 0.0 (-14.4700%) v | ERI: buy | WAIT | Last Action: BUY | -0.7819% (delta: 0.0007)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 07:00:00 | RLY-GBP | 3600 | Close: 0.3219 | ^ EMA12/26: 0.3237 > 0.3226 ^ | v OBV: 0.0 (-101.3000%) v | ERI: sell | WAIT | Last Action: BUY | -0.8435% (delta: 0.0005)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 09:00:00 | RLY-GBP | 3600 | Close: 0.3202 | ^ EMA12/26: 0.3232 > 0.3224 ^ | ^ OBV: 0.0 (261.4300%) ^ | ERI: buy | WAIT | Last Action: BUY | -1.3672% (delta: -0.0012)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 10:00:00 | RLY-GBP | 3600 | Close: 0.3202 | ^ EMA12/26: 0.3227 > 0.3223 ^ | OBV: 0.0 (0.0000%) | ERI: sell | WAIT | Last Action: BUY | -1.3672% (delta: -0.0012)
support: 0.3147, resistance: 0.3213, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 12:00:00 | RLY-GBP | 3600 | Close: 0.3217 | ^ EMA12/26: 0.3226 > 0.3222 ^ | v OBV: 0.0 (-150.9900%) v | ERI: buy | WAIT | Last Action: BUY | -0.8743% (delta: 0.0004)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 13:00:00 | RLY-GBP | 3600 | Close: 0.3216 | ^ EMA12/26: 0.3224 > 0.3222 ^ | v OBV: 0.0 (-424.4200%) v | ERI: buy | WAIT | Last Action: BUY | -0.9359% (delta: 0.0002)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 14:00:00 | RLY-GBP | 3600 | Close: 0.3261 | ^ EMA12/26: 0.3230 > 0.3225 ^ | v OBV: 0.0 (-131.0600%) v | ERI: buy | WAIT | Last Action: BUY | 0.4502% (delta: 0.0047)
support: 0.3213, resistance: 0.328, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-06 16:00:00 | RLY-GBP | 3600 | Close: 0.3306 | ^ EMA12/26: 0.3241 > 0.3231 ^ | ^ OBV: 0.0 (2764.2300%) ^ | ERI: buy | WAIT | Last Action: BUY | 1.8364% (delta: 0.0092)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-06 17:00:00 | RLY-GBP | 3600 | Close: 0.3362 | ^ EMA12/26: 0.3260 > 0.3240 ^ | ^ OBV: 0.0 (6.4900%) ^ | ERI: buy | WAIT | Last Action: BUY | 3.5614% (delta: 0.0148)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-06 18:00:00 | RLY-GBP | 3600 | Close: 0.3406 | ^ EMA12/26: 0.3282 > 0.3253 ^ | ^ OBV: 0.0 (41.6000%) ^ | ERI: buy | WAIT | Last Action: BUY | 4.9167% (delta: 0.0192)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-06 19:00:00 | RLY-GBP | 3600 | Close: 0.3379 | ^ EMA12/26: 0.3297 > 0.3262 ^ | v OBV: 0.0 (-98.2500%) v | ERI: sell | WAIT | Last Action: BUY | 4.0850% (delta: 0.0165)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-06 20:00:00 | RLY-GBP | 3600 | Close: 0.3369 | ^ EMA12/26: 0.3308 > 0.3270 ^ | v OBV: 0.0 (-56.8500%) v | ERI: sell | WAIT | Last Action: BUY | 3.7770% (delta: 0.0155)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-06 21:00:00 | RLY-GBP | 3600 | Close: 0.3350 | ^ EMA12/26: 0.3314 > 0.3276 ^ | v OBV: 0.0 (-765.8800%) v | ERI: buy | WAIT | Last Action: BUY | 3.1917% (delta: 0.0136)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-06 22:00:00 | RLY-GBP | 3600 | Close: 0.3313 | ^ EMA12/26: 0.3314 > 0.3278 ^ | ^ OBV: 0.0 (1434.1000%) ^ | ERI: sell | WAIT | Last Action: BUY | 2.0828% (delta: 0.01)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-06 23:00:00 | RLY-GBP | 3600 | Close: 0.3297 | ^ EMA12/26: 0.3312 > 0.3280 ^ | ^ OBV: 0.0 (0.2900%) ^ | ERI: buy | WAIT | Last Action: BUY | 1.5591% (delta: 0.0083)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.28, fibonacci (u): 0.33
2021-08-07 00:00:00 | RLY-GBP | 3600 | Close: 0.3305 | ^ EMA12/26: 0.3310 > 0.3282 ^ | v OBV: 0.0 (-47.7701%) v | ERI: buy | WAIT | Last Action: BUY | 1.8056% (delta: 0.0091)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 01:00:00 | RLY-GBP | 3600 | Close: 0.3311 | ^ EMA12/26: 0.3310 > 0.3284 ^ | v OBV: 0.0 (-6.3800%) v | ERI: buy | WAIT | Last Action: BUY | 1.9904% (delta: 0.0097)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 02:00:00 | RLY-GBP | 3600 | Close: 0.3315 | ^ EMA12/26: 0.3311 > 0.3286 ^ | v OBV: 0.0 (-40.4400%) v | ERI: buy | WAIT | Last Action: BUY | 2.1136% (delta: 0.0101)
support: 0.328, resistance: 0.3352, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 05:00:00 | RLY-GBP | 3600 | Close: 0.3377 | ^ EMA12/26: 0.3321 > 0.3293 ^ | v OBV: 0.0 (-121.5300%) v | ERI: buy | WAIT | Last Action: BUY | 4.0234% (delta: 0.0163)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 07:00:00 | RLY-GBP | 3600 | Close: 0.3397 | ^ EMA12/26: 0.3333 > 0.3300 ^ | ^ OBV: 0.0 (29.3000%) ^ | ERI: buy | WAIT | Last Action: BUY | 4.6395% (delta: 0.0183)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 08:00:00 | RLY-GBP | 3600 | Close: 0.3400 | ^ EMA12/26: 0.3343 > 0.3308 ^ | ^ OBV: 0.0 (220.5400%) ^ | ERI: buy | WAIT | Last Action: BUY | 4.7319% (delta: 0.0186)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 09:00:00 | RLY-GBP | 3600 | Close: 0.3457 | ^ EMA12/26: 0.3360 > 0.3319 ^ | ^ OBV: 0.0 (215.7800%) ^ | ERI: buy | WAIT | Last Action: BUY | 6.4877% (delta: 0.0243)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 10:00:00 | RLY-GBP | 3600 | Close: 0.3484 | ^ EMA12/26: 0.3379 > 0.3331 ^ | ^ OBV: 0.0 (6.9400%) ^ | ERI: buy | WAIT | Last Action: BUY | 7.3194% (delta: 0.027)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 11:00:00 | RLY-GBP | 3600 | Close: 0.3502 | ^ EMA12/26: 0.3398 > 0.3344 ^ | ^ OBV: 0.0 (0.4700%) ^ | ERI: sell | WAIT | Last Action: BUY | 7.8739% (delta: 0.0288)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
! Trailing Stop Loss Triggered (< -1.5%)
* Candlestick Detected: Shooting Star ("Weak - Reversal - Bearish Pattern - Down")
* Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
2021-08-07 12:00:00 | RLY-GBP | 3600 | Close: 0.3514 | ^ EMA12/26: 0.3416 > 0.3356 ^ | ^ OBV: 0.0 (182.1200%) ^ | ERI: buy | SELL | Last Action: BUY | 8.2435% (delta: 0.03)
support: 0.3352, resistance: 0.3548, fibonacci (l): 0.33, fibonacci (u): 0.36
2021-08-07 12:00:00 | RLY-GBP | 3600 | SELL | 0.3514 | BUY | 0.3214 | DIFF | 0.02999999999999997 | DIFF | 71.46087975 | MARGIN NO FEES | 8.2435% | MARGIN FEES | 4.7152
*** Candlestick Detected: Evening Star ("Strong - Reversal - Bearish Pattern - Down")
2021-08-07 13:00:00 | RLY-GBP | 3600 | Close: 0.3493 | ^ EMA12/26: 0.3428 > 0.3366 ^ | v OBV: 0.0 (-3.9100%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-07 14:00:00 | RLY-GBP | 3600 | Close: 0.3478 | ^ EMA12/26: 0.3435 > 0.3375 ^ | v OBV: 0.0 (-14.0100%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-07 15:00:00 | RLY-GBP | 3600 | Close: 0.3514 | ^ EMA12/26: 0.3447 > 0.3385 ^ | ^ OBV: 0.0 (4.2500%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-07 16:00:00 | RLY-GBP | 3600 | Close: 0.3449 | ^ EMA12/26: 0.3448 > 0.3390 ^ | v OBV: 0.0 (-48.9400%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-07 17:00:00 | RLY-GBP | 3600 | Close: 0.3449 | ^ EMA12/26: 0.3448 > 0.3394 ^ | OBV: 0.0 (0.0000%) | ERI: sell | WAIT | Last Action: SELL
2021-08-07 18:00:00 | RLY-GBP | 3600 | Close: 0.3452 | ^ EMA12/26: 0.3448 > 0.3398 ^ | ^ OBV: 0.0 (36.4300%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-07 19:00:00 | RLY-GBP | 3600 | Close: 0.3338 | ^ EMA12/26: 0.3431 > 0.3394 ^ | v OBV: 0.0 (-27.6200%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-07 21:00:00 | RLY-GBP | 3600 | Close: 0.3361 | ^ EMA12/26: 0.3420 > 0.3391 ^ | ^ OBV: 0.0 (23.4500%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-07 22:00:00 | RLY-GBP | 3600 | Close: 0.3386 | ^ EMA12/26: 0.3415 > 0.3391 ^ | ^ OBV: 0.0 (1.0700%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-07 23:00:00 | RLY-GBP | 3600 | Close: 0.3389 | ^ EMA12/26: 0.3411 > 0.3391 ^ | ^ OBV: 0.0 (2.4300%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-08 00:00:00 | RLY-GBP | 3600 | Close: 0.3369 | ^ EMA12/26: 0.3404 > 0.3389 ^ | v OBV: 0.0 (-1.0000%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-08 01:00:00 | RLY-GBP | 3600 | Close: 0.3363 | ^ EMA12/26: 0.3398 > 0.3387 ^ | v OBV: 0.0 (-0.1100%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 02:00:00 | RLY-GBP | 3600 | Close: 0.3297 | ^ EMA12/26: 0.3382 > 0.3380 ^ | v OBV: 0.0 (-16.8000%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 04:00:00 | RLY-GBP | 3600 | Close: 0.3325 | *v EMA12/26: 0.3373 < 0.3376 v* | ^ OBV: 0.0 (7.9200%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-08 06:00:00 | RLY-GBP | 3600 | Close: 0.3358 | v EMA12/26: 0.3371 < 0.3375 v | ^ OBV: 0.0 (5.1400%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-08 08:00:00 | RLY-GBP | 3600 | Close: 0.3358 | v EMA12/26: 0.3369 < 0.3374 v | OBV: 0.0 (0.0000%) | ERI: buy | WAIT | Last Action: SELL
2021-08-08 09:00:00 | RLY-GBP | 3600 | Close: 0.3291 | v EMA12/26: 0.3357 < 0.3367 v | v OBV: 0.0 (-30.7300%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 10:00:00 | RLY-GBP | 3600 | Close: 0.3303 | v EMA12/26: 0.3348 < 0.3363 v | ^ OBV: 0.0 (34.1300%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-08 12:00:00 | RLY-GBP | 3600 | Close: 0.3325 | v EMA12/26: 0.3345 < 0.3360 v | ^ OBV: 0.0 (7.8100%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-08 13:00:00 | RLY-GBP | 3600 | Close: 0.3321 | v EMA12/26: 0.3341 < 0.3357 v | v OBV: 0.0 (-15.1000%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 14:00:00 | RLY-GBP | 3600 | Close: 0.3265 | v EMA12/26: 0.3329 < 0.3350 v | v OBV: 0.0 (-32.4000%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 15:00:00 | RLY-GBP | 3600 | Close: 0.3197 | v EMA12/26: 0.3309 < 0.3339 v | v OBV: 0.0 (-31.8200%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-08 16:00:00 | RLY-GBP | 3600 | Close: 0.3132 | v EMA12/26: 0.3282 < 0.3323 v | v OBV: 0.0 (-172.4700%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 17:00:00 | RLY-GBP | 3600 | Close: 0.3241 | v EMA12/26: 0.3275 < 0.3317 v | v OBV: 0.0 (-417.8500%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 18:00:00 | RLY-GBP | 3600 | Close: 0.3232 | v EMA12/26: 0.3269 < 0.3311 v | v OBV: 0.0 (-85.9500%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 19:00:00 | RLY-GBP | 3600 | Close: 0.3132 | v EMA12/26: 0.3248 < 0.3298 v | v OBV: 0.0 (-859.9700%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-08 20:00:00 | RLY-GBP | 3600 | Close: 0.3200 | v EMA12/26: 0.3240 < 0.3290 v | v OBV: 0.0 (-15.3200%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-08 21:00:00 | RLY-GBP | 3600 | Close: 0.3237 | v EMA12/26: 0.3240 < 0.3286 v | v OBV: 0.0 (-6.0200%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 22:00:00 | RLY-GBP | 3600 | Close: 0.3305 | v EMA12/26: 0.3250 < 0.3288 v | v OBV: 0.0 (-50.5100%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-08 23:00:00 | RLY-GBP | 3600 | Close: 0.3232 | v EMA12/26: 0.3247 < 0.3284 v | ^ OBV: 0.0 (97.7700%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-09 00:00:00 | RLY-GBP | 3600 | Close: 0.3199 | v EMA12/26: 0.3240 < 0.3277 v | ^ OBV: 0.0 (14.1100%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-09 01:00:00 | RLY-GBP | 3600 | Close: 0.3179 | v EMA12/26: 0.3230 < 0.3270 v | ^ OBV: 0.0 (46.0000%) ^ | ERI: sell | WAIT | Last Action: SELL
*** Candlestick Detected: Morning Star ("Strong - Reversal - Bullish Pattern - Up")
** Candlestick Detected: Abandoned Baby ("Reliable - Reversal - Bullish Pattern - Up")
2021-08-09 02:00:00 | RLY-GBP | 3600 | Close: 0.3202 | v EMA12/26: 0.3226 < 0.3265 v | v OBV: 0.0 (-12.4500%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-09 04:00:00 | RLY-GBP | 3600 | Close: 0.3200 | v EMA12/26: 0.3222 < 0.3260 v | ^ OBV: 0.0 (11.6199%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-09 06:00:00 | RLY-GBP | 3600 | Close: 0.3201 | v EMA12/26: 0.3219 < 0.3256 v | v OBV: 0.0 (-10.9700%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-09 08:00:00 | RLY-GBP | 3600 | Close: 0.3232 | v EMA12/26: 0.3221 < 0.3254 v | v OBV: 0.0 (-40.5700%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-09 09:00:00 | RLY-GBP | 3600 | Close: 0.3288 | v EMA12/26: 0.3231 < 0.3257 v | v OBV: 0.0 (-2.8100%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-09 10:00:00 | RLY-GBP | 3600 | Close: 0.3343 | v EMA12/26: 0.3248 < 0.3263 v | v OBV: 0.0 (-45.8700%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-09 11:00:00 | RLY-GBP | 3600 | Close: 0.3377 | v EMA12/26: 0.3268 < 0.3271 v | v OBV: 0.0 (-42.1700%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-09 12:00:00 | RLY-GBP | 3600 | Close: 0.3392 | *^ EMA12/26: 0.3287 > 0.3280 ^* | v OBV: 0.0 (-6.1100%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-09 14:00:00 | RLY-GBP | 3600 | Close: 0.3383 | ^ EMA12/26: 0.3302 > 0.3288 ^ | ^ OBV: 0.0 (722.0300%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-09 15:00:00 | RLY-GBP | 3600 | Close: 0.3416 | ^ EMA12/26: 0.3319 > 0.3297 ^ | v OBV: 0.0 (-13.1600%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-09 16:00:00 | RLY-GBP | 3600 | Close: 0.3453 | ^ EMA12/26: 0.3340 > 0.3309 ^ | v OBV: 0.0 (-61.2200%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-09 17:00:00 | RLY-GBP | 3600 | Close: 0.3463 | ^ EMA12/26: 0.3359 > 0.3320 ^ | v OBV: 0.0 (-86.2200%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-09 18:00:00 | RLY-GBP | 3600 | Close: 0.3473 | ^ EMA12/26: 0.3376 > 0.3331 ^ | v OBV: 0.0 (-12.5200%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-09 19:00:00 | RLY-GBP | 3600 | Close: 0.3473 | ^ EMA12/26: 0.3391 > 0.3342 ^ | OBV: 0.0 (0.0000%) | ERI: sell | WAIT | Last Action: SELL
2021-08-09 20:00:00 | RLY-GBP | 3600 | Close: 0.3439 | ^ EMA12/26: 0.3398 > 0.3349 ^ | ^ OBV: 0.0 (2815.4600%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-09 21:00:00 | RLY-GBP | 3600 | Close: 0.3464 | ^ EMA12/26: 0.3408 > 0.3358 ^ | v OBV: 0.0 (-40.4500%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-09 23:00:00 | RLY-GBP | 3600 | Close: 0.3808 | ^ EMA12/26: 0.3470 > 0.3391 ^ | v OBV: 0.0 (-505.3000%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-10 00:00:00 | RLY-GBP | 3600 | Close: 0.3639 | ^ EMA12/26: 0.3496 > 0.3409 ^ | v OBV: 0.0 (-59.5200%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-10 01:00:00 | RLY-GBP | 3600 | Close: 0.3572 | ^ EMA12/26: 0.3507 > 0.3421 ^ | v OBV: 0.0 (-52.5800%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-10 03:00:00 | RLY-GBP | 3600 | Close: 0.3560 | ^ EMA12/26: 0.3515 > 0.3432 ^ | v OBV: 0.0 (-5.4000%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-10 04:00:00 | RLY-GBP | 3600 | Close: 0.3567 | ^ EMA12/26: 0.3523 > 0.3442 ^ | ^ OBV: 0.0 (18.6600%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-10 05:00:00 | RLY-GBP | 3600 | Close: 0.3549 | ^ EMA12/26: 0.3527 > 0.3449 ^ | v OBV: 0.0 (-25.5300%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-10 06:00:00 | RLY-GBP | 3600 | Close: 0.3548 | ^ EMA12/26: 0.3530 > 0.3457 ^ | v OBV: 0.0 (-5.5700%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-10 08:00:00 | RLY-GBP | 3600 | Close: 0.3555 | ^ EMA12/26: 0.3534 > 0.3464 ^ | ^ OBV: 0.0 (139.1699%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-10 09:00:00 | RLY-GBP | 3600 | Close: 0.3585 | ^ EMA12/26: 0.3542 > 0.3473 ^ | ^ OBV: 0.0 (6.4000%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-10 10:00:00 | RLY-GBP | 3600 | Close: 0.3524 | ^ EMA12/26: 0.3539 > 0.3477 ^ | v OBV: 0.0 (-3.2500%) v | ERI: sell | WAIT | Last Action: SELL
2021-08-10 11:00:00 | RLY-GBP | 3600 | Close: 0.3580 | ^ EMA12/26: 0.3545 > 0.3484 ^ | ^ OBV: 0.0 (34.1500%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-10 12:00:00 | RLY-GBP | 3600 | Close: 0.3597 | ^ EMA12/26: 0.3553 > 0.3493 ^ | ^ OBV: 0.0 (24.6600%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-10 13:00:00 | RLY-GBP | 3600 | Close: 0.3651 | ^ EMA12/26: 0.3568 > 0.3504 ^ | ^ OBV: 0.0 (25.6300%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-10 14:00:00 | RLY-GBP | 3600 | Close: 0.4020 | ^ EMA12/26: 0.3638 > 0.3543 ^ | ^ OBV: 0.0 (153.5000%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-10 15:00:00 | RLY-GBP | 3600 | Close: 0.4840 | ^ EMA12/26: 0.3823 > 0.3639 ^ | ^ OBV: 0.0 (261.4200%) ^ | ERI: buy | WAIT | Last Action: SELL
* Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
2021-08-10 16:00:00 | RLY-GBP | 3600 | Close: 0.4718 | ^ EMA12/26: 0.3960 > 0.3719 ^ | v OBV: 0.0 (-124.4500%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-10 17:00:00 | RLY-GBP | 3600 | Close: 0.4327 | ^ EMA12/26: 0.4017 > 0.3764 ^ | ^ OBV: 0.0 (206.9300%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-10 18:00:00 | RLY-GBP | 3600 | Close: 0.3931 | ^ EMA12/26: 0.4003 > 0.3776 ^ | ^ OBV: 0.0 (77.5600%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-10 19:00:00 | RLY-GBP | 3600 | Close: 0.3913 | ^ EMA12/26: 0.3989 > 0.3786 ^ | ^ OBV: 0.0 (5.8200%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-10 20:00:00 | RLY-GBP | 3600 | Close: 0.3943 | ^ EMA12/26: 0.3982 > 0.3798 ^ | v OBV: 0.0 (-3.8100%) v | ERI: buy | WAIT | Last Action: SELL
* Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up")
2021-08-10 21:00:00 | RLY-GBP | 3600 | Close: 0.3864 | ^ EMA12/26: 0.3964 > 0.3803 ^ | ^ OBV: 0.0 (8.7100%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-10 22:00:00 | RLY-GBP | 3600 | Close: 0.3890 | ^ EMA12/26: 0.3952 > 0.3809 ^ | v OBV: 0.0 (-3.5300%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-10 23:00:00 | RLY-GBP | 3600 | Close: 0.3799 | ^ EMA12/26: 0.3929 > 0.3808 ^ | ^ OBV: 0.0 (2.2700%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-11 00:00:00 | RLY-GBP | 3600 | Close: 0.3777 | ^ EMA12/26: 0.3905 > 0.3806 ^ | ^ OBV: 0.0 (1.6100%) ^ | ERI: buy | WAIT | Last Action: SELL
Simulation Summary:
Buy Count : 2
Sell Count : 2
First Buy : 1000
Last Sell : 938.3305959317943
Margin : -6.1670%
** non-live simulation, assuming highest fees
from datetime import datetime
from pandas import DataFrame
from models.PyCryptoBot import PyCryptoBot
from models.AppState import AppState
from models.helper.LogHelper import Logger
class Strategy():
def __init__(self, app: PyCryptoBot=None, state: AppState=AppState, df: DataFrame=DataFrame, iterations: int=0) -> None:
if not isinstance(df, DataFrame):
raise TypeError("'df' not a Pandas dataframe")
if len(df) == 0:
raise ValueError("'df' is empty")
self._action = 'WAIT'
self.app = app
self.state = state
self._df = df
self._df_last = app.getInterval(df, iterations)
def isBuySignal(self, now: datetime = datetime.today().strftime('%Y-%m-%d %H:%M:%S'), price: float=0.0) -> bool:
# required technical indicators or candle sticks for buy signal strategy
required_indicators = [ 'ema12gtema26co', 'macdgtsignal', 'goldencross', 'obv_pc', 'eri_buy' ]
for indicator in required_indicators:
if indicator not in self._df_last:
raise AttributeError(f"'{indicator}' not in Pandas dataframe")
# buy signal exclusion (if disabled, do not buy within 3% of the dataframe close high)
if self.state.last_action == 'SELL' and self.app.disableBuyNearHigh() is True and (price > (self._df['close'].max() * 0.97)):
log_text = str(now) + ' | ' + self.app.getMarket() + ' | ' + self.app.printGranularity() + ' | Ignoring Buy Signal (price ' + str(price) + ' within 3% of high ' + str(self._df['close'].max()) + ')'
Logger.warning(log_text)
return False
# if EMA, MACD are disabled, do not buy
if self.app.disableBuyEMA() and self.app.disableBuyMACD() :
log_text = str(now) + ' | ' + self.app.getMarket() + ' | ' + self.app.printGranularity() + ' | EMA, MACD indicators are disabled '
Logger.warning(log_text)
return False
# criteria for a buy signal 1
if (bool(self._df_last['ema12gtema26co'].values[0]) is True or self.app.disableBuyEMA())\
and (bool(self._df_last['macdgtsignal'].values[0]) is True or self.app.disableBuyMACD()) \
and (bool(self._df_last['goldencross'].values[0]) is True or self.app.disableBullOnly()) \
and (float(self._df_last['obv_pc'].values[0]) > -5 or self.app.disableBuyOBV()) \
and (bool(self._df_last['eri_buy'].values[0]) is True or self.app.disableBuyElderRay()) \
and self.state.last_action != 'BUY': # required for all strategies
Logger.debug('*** Buy Signal ***')
for indicator in required_indicators:
Logger.debug(f'{indicator}: {self._df_last[indicator].values[0]}')
Logger.debug(f'last_action: {self.state.last_action}')
return True
# criteria for buy signal 2 (optionally add additional buy singals)
elif (bool(self._df_last['ema12gtema26co'].values[0]) is True or self.app.disableBuyEMA())\
and bool(self._df_last['macdgtsignalco'].values[0]) is True \
and (bool(self._df_last['goldencross'].values[0]) is True or self.app.disableBullOnly()) \
and (float(self._df_last['obv_pc'].values[0]) > -5 or self.app.disableBuyOBV()) \
and (bool(self._df_last['eri_buy'].values[0]) is True or self.app.disableBuyElderRay()) \
and self.state.last_action != 'BUY': # required for all strategies
Logger.debug('*** Buy Signal ***')
for indicator in required_indicators:
Logger.debug(f'{indicator}: {self._df_last[indicator].values[0]}')
Logger.debug(f'last_action: {self.state.last_action}')
return True
return False
def isSellSignal(self) -> bool:
# required technical indicators or candle sticks for buy signal strategy
required_indicators = [ 'ema12ltema26co', 'macdltsignal' ]
for indicator in required_indicators:
if indicator not in self._df_last:
raise AttributeError(f"'{indicator}' not in Pandas dataframe")
# criteria for a sell signal 1
if bool(self._df_last['ema12ltema26co'].values[0]) is True \
and (bool(self._df_last['macdltsignal'].values[0]) is True or self.app.disableBuyMACD()) \
and self.state.last_action not in ['', 'SELL']:
Logger.debug('*** Sell Signal ***')
for indicator in required_indicators:
Logger.debug(f'{indicator}: {self._df_last[indicator].values[0]}')
Logger.debug(f'last_action: {self.state.last_action}')
return True
return False
def isSellTrigger(self, price: float=0.0, price_exit: float=0.0, margin: float=0.0, change_pcnt_high: float=0.0, obv_pc: float=0.0, macdltsignal: bool=False) -> bool:
# loss failsafe sell at fibonacci band
if self.app.disableFailsafeFibonacciLow() is False and self.app.allowSellAtLoss() and self.app.sellLowerPcnt() is None and self.state.fib_low > 0 and self.state.fib_low >= float(price):
log_text = '! Loss Failsafe Triggered (Fibonacci Band: ' + str(self.state.fib_low) + ')'
Logger.warning(log_text)
self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
return True
# loss failsafe sell at trailing_stop_loss
if self.app.trailingStopLoss() != None and change_pcnt_high < self.app.trailingStopLoss() and self.app.allowSellAtLoss() or (margin > 8 or margin < - 13):
log_text = '! Trailing Stop Loss Triggered (< ' + str(self.app.trailingStopLoss()) + '%)'
Logger.warning(log_text)
self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
return True
# loss failsafe sell at sell_lower_pcnt
elif self.app.disableFailsafeLowerPcnt() is False and self.app.allowSellAtLoss() and self.app.sellLowerPcnt() != None and margin < self.app.sellLowerPcnt():
log_text = '! Loss Failsafe Triggered (< ' + str(self.app.sellLowerPcnt()) + '%)'
Logger.warning(log_text)
self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
return True
# profit bank at sell_upper_pcnt
if self.app.disableProfitbankUpperPcnt() is False and self.app.sellUpperPcnt() != None and margin > self.app.sellUpperPcnt():
log_text = '! Profit Bank Triggered (> ' + str(self.app.sellUpperPcnt()) + '%)'
Logger.warning(log_text)
self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
return True
# profit bank when strong reversal detected
if self.app.disableProfitbankReversal() is False and margin > 3 and obv_pc < 0 and macdltsignal is True:
log_text = '! Profit Bank Triggered (Strong Reversal Detected)'
Logger.warning(log_text)
self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
return True
# profit bank when strong reversal detected
if self.app.sellAtResistance() is True and margin >= 2 and price > 0 and price != price_exit:
log_text = '! Profit Bank Triggered (Selling At Resistance)'
Logger.warning(log_text)
if not (not self.app.allowSellAtLoss() and margin <= 0):
self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
return True
return False
def isWaitTrigger(self, margin: float=0.0):
# configuration specifies to not sell at a loss
if self.state.action == 'SELL' and not self.app.allowSellAtLoss() and (margin <= 0 and margin > -10):
log_text = '! Ignore Sell Signal (No Sell At Loss)'
Logger.warning(log_text)
return True
return False
def getAction(self):
if self.isBuySignal():
return 'BUY'
elif self.isSellSignal():
return 'SELL'
else:
return 'WAIT'
@anakein
Copy link

anakein commented Aug 16, 2021

from datetime import datetime
from pandas import DataFrame
from models.PyCryptoBot import PyCryptoBot
from models.AppState import AppState
from models.helper.LogHelper import Logger
import os.path
from os import remove

class Strategy():
def init(self, app: PyCryptoBot=None, state: AppState=AppState, df: DataFrame=DataFrame, iterations: int=0) -> None:
if not isinstance(df, DataFrame):
raise TypeError("'df' not a Pandas dataframe")

    if len(df) == 0:
        raise ValueError("'df' is empty")

    self._action = 'WAIT'
    self.app = app
    self.state = state
    self._df = df
    self._df_last = app.getInterval(df, iterations) 
    self.buyprice = 0.0
    self.maxprice = 0.0
    self.minprice = 0.0

def isBuySignal(self, now: datetime = datetime.today().strftime('%Y-%m-%d %H:%M:%S'), price: float=0.0) -> bool:
    # required technical indicators or candle sticks for buy signal strategy
    required_indicators = [ 'ema12gtema26co', 'macdgtsignal', 'goldencross', 'obv_pc', 'eri_buy' ]

    for indicator in required_indicators:
        if indicator not in self._df_last:
            raise AttributeError(f"'{indicator}' not in Pandas dataframe")

    # buy signal exclusion (if disabled, do not buy within 3% of the dataframe close high)
    if self.state.last_action == 'SELL' and self.app.disableBuyNearHigh() is True and (price > (self._df['close'].max() * 0.97)):
        log_text = str(now) + ' | ' + self.app.getMarket() + ' | ' + self.app.printGranularity() + ' | Ignoring Buy Signal (price ' + str(price) + ' within 3% of high ' + str(self._df['close'].max()) + ')'
        Logger.warning(log_text)

        return False
    
    # if EMA, MACD are disabled, do not buy
    if self.app.disableBuyEMA() and self.app.disableBuyMACD() :
        log_text = str(now) + ' | ' + self.app.getMarket() + ' | ' + self.app.printGranularity() + ' | EMA, MACD indicators are disabled '
        Logger.warning(log_text)
        
        return False

    # criteria for a buy signal 1
    if (bool(self._df_last['ema12gtema26co'].values[0]) is True or self.app.disableBuyEMA())\
            and (bool(self._df_last['macdgtsignal'].values[0]) is True or self.app.disableBuyMACD()) \
            and (bool(self._df_last['goldencross'].values[0]) is True or self.app.disableBullOnly()) \
            and (float(self._df_last['obv_pc'].values[0]) > -5 or self.app.disableBuyOBV()) \
            and (bool(self._df_last['eri_buy'].values[0]) is True or self.app.disableBuyElderRay()) \
            and self.state.last_action != 'BUY': # required for all strategies

        Logger.debug('*** Buy Signal ***')
        for indicator in required_indicators:
            Logger.debug(f'{indicator}: {self._df_last[indicator].values[0]}')
        Logger.debug(f'last_action: {self.state.last_action}')

        return True

    # criteria for buy signal 2 (optionally add additional buy singals)
    elif (bool(self._df_last['ema12gtema26co'].values[0]) is True or self.app.disableBuyEMA())\
            and bool(self._df_last['macdgtsignalco'].values[0]) is True \
            and (bool(self._df_last['goldencross'].values[0]) is True or self.app.disableBullOnly()) \
            and (float(self._df_last['obv_pc'].values[0]) > -5 or self.app.disableBuyOBV()) \
            and (bool(self._df_last['eri_buy'].values[0]) is True or self.app.disableBuyElderRay()) \
            and self.state.last_action != 'BUY': # required for all strategies

        Logger.debug('*** Buy Signal ***')
        for indicator in required_indicators:
            Logger.debug(f'{indicator}: {self._df_last[indicator].values[0]}')
        Logger.debug(f'last_action: {self.state.last_action}')

        return True

    elif (bool(self._df_last['ema12gtema26co'].values[0]) is True or self.app.disableBuyEMA())\
            and bool(self._df_last['macdgtsignalco'].values[0]) is True \
            or (bool(self._df_last['goldencross'].values[0]) is True or self.app.disableBullOnly()) \
            and (float(self._df_last['obv_pc'].values[0]) > -5 or self.app.disableBuyOBV()) \
            and (bool(self._df_last['eri_buy'].values[0]) is True or self.app.disableBuyElderRay()) \
            and self.state.last_action != 'BUY': # required for all strategies

        Logger.debug('*** Buy Signal ***')
        for indicator in required_indicators:
            Logger.debug(f'{indicator}: {self._df_last[indicator].values[0]}')
        Logger.debug(f'last_action: {self.state.last_action}')

        return True
    
    return False


def isSellSignal(self) -> bool:
    # required technical indicators or candle sticks for buy signal strategy
    required_indicators = [ 'ema12ltema26co', 'macdltsignal' ]

    for indicator in required_indicators:
        if indicator not in self._df_last:
            raise AttributeError(f"'{indicator}' not in Pandas dataframe")

    # criteria for a sell signal 1
    if bool(self._df_last['ema12ltema26co'].values[0]) is True \
        and (bool(self._df_last['macdltsignal'].values[0]) is True or self.app.disableBuyMACD()) \
        and self.state.last_action not in ['', 'SELL']:

        Logger.debug('*** Sell Signal ***')
        for indicator in required_indicators:
            Logger.debug(f'{indicator}: {self._df_last[indicator].values[0]}')
        Logger.debug(f'last_action: {self.state.last_action}')

        return True

    return False


def isSellTrigger(self, price: float=0.0, price_exit: float=0.0, margin: float=0.0, change_pcnt_high: float=0.0, obv_pc: float=0.0, macdltsignal: bool=False) -> bool:
    # loss failsafe sell at fibonacci band
    Logger.info('**************************************************'+str(price)+' '+str(self.buyprice)+' '+str(margin)+str(self.minprice))
    if not os.path.isfile('./precio.txt'):
        datos=[]
        self.buyprice = price_exit
        f = open("./precio.txt", "w")
        datos.append(str(price_exit)+'\n')
        datos.append(str(price_exit*1.016)+'\n')
        datos.append(str(price)+'\n')
        Logger.info('**************************************************'+datos[1])    
        f.writelines(datos)
        f.close()

    else :
        f = open("./precio.txt", "r")
        datos = f.readlines()
        self.buyprice = float(datos[1])
        self.maxprice = float(datos[2])
        Logger.info('**************************************************'+str(self.buyprice))    
        f.close()        
     
    if self.app.disableFailsafeFibonacciLow() is False and self.app.allowSellAtLoss() and self.app.sellLowerPcnt() is None and self.state.fib_low > 0 and self.state.fib_low >= float(price):
        log_text = '! Loss Failsafe Triggered (Fibonacci Band: ' + str(self.state.fib_low) + ')'
        Logger.warning(log_text)
        self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
        return True

    # loss failsafe sell at trailing_stop_loss
    if self.app.trailingStopLoss() != None and change_pcnt_high < self.app.trailingStopLoss() and (self.app.allowSellAtLoss() or margin > 0):
        log_text = '! Trailing Stop Loss Triggered (< ' + str(self.app.trailingStopLoss()) + '%)'
        Logger.warning(log_text)
        self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
        return True

    # loss failsafe sell at sell_lower_pcnt
    elif self.app.disableFailsafeLowerPcnt() is False and self.app.allowSellAtLoss() and self.app.sellLowerPcnt() != None and margin < self.app.sellLowerPcnt():
        log_text = '! Loss Failsafe Triggered (< ' + str(self.app.sellLowerPcnt()) + '%)'
        Logger.warning(log_text)
        self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
        return True

    # profit bank at sell_upper_pcnt
    if self.app.disableProfitbankUpperPcnt() is False and self.app.sellUpperPcnt() != None and margin > self.app.sellUpperPcnt():
        log_text = '! Profit Bank Triggered (> ' + str(self.app.sellUpperPcnt()) + '%)'
        Logger.warning(log_text)
        self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
        return True

    # profit bank when strong reversal detected
    if self.app.disableProfitbankReversal() is False and margin > 3 and obv_pc < 0 and macdltsignal is True:
        log_text = '! Profit Bank Triggered (Strong Reversal Detected)'
        Logger.warning(log_text)
        self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
        return True

    # profit bank when strong reversal detected
    if self.app.sellAtResistance() is True and margin >= 2 and price > 0 and price != price_exit:
        log_text = '! Profit Bank Triggered (Selling At Resistance)'
        Logger.warning(log_text)
        if not (not self.app.allowSellAtLoss() and margin <= 0):
            self.app.notifyTelegram(self.app.getMarket() + ' (' + self.app.printGranularity() + ') ' + log_text)
        return True

    return False

def isWaitTrigger(self, margin: float=0.0):
    # configuration specifies to not sell at a loss
    if self.state.action == 'SELL' and not self.app.allowSellAtLoss() and margin <= 0:
        log_text = '! Ignore Sell Signal (No Sell At Loss)'
        Logger.warning(log_text)
        return True

    return False

def getAction(self):
    if self.isBuySignal():
        return 'BUY'
    elif self.isSellSignal():
        return 'SELL'
    else:
        return 'WAIT'

#this fase only add new BUY criteria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment