Opções Binárias

Gekko Trading Bot – Never Lose a Trade

* O link para o vídeo completo está no final desse artigo.
Saiba mais clicando em Robô IQ OPTION de AUTOMATIZAÇÃO de Lista de SINAIS
E conheça também sobre o Melhor Bot Para Opções Binárias 2021
Que tal um robo gratuito para IQ Option? Sistema Para IQ Option Grátis

Understand how a strategy works
⁃ Init
⁃ Update (1)
⁃ Log (2)
⁃ Check (3) repeat from (1)

Understand how the MACD strategy works
⁃ It defines 3 trends: bull, bear, no trend
⁃ It is messy & redundant (from a Jr. iOS Dev perspective, I could be wrong)
⁃ There’s a bug when switching trends

Creating your own “Never lose” Strategy
⁃ Write Pseudocode
⁃ Define strategy to never sell when current price less than purchased price
⁃ Fall in love with conditional statements
⁃ Backtest, backtest, backtest… backtest some more
⁃ Trade

Bottom line: This is relatively easy for people with coding background. If you don’t have it, it just means you have to do more research/reading. Think of this as a game, in order to beat it, you have to keep practicing. But even when you know what you are doing, know that you have real money on the line once you start your bot. So ask yourself, “What are the consequences”?

Support My Channel:

Buy my t-shirt:


,.-~*´¨¯¨`*·~-.¸-( Buy your first Bitcoin )-,.-~*´¨¯¨`*·~-.¸

Get $10 free from Coinbase when you buy $100 Crypto:

,.-~*´¨¯¨`*·~-.¸-( Google Advanced Protection )-,.-~*´¨¯¨`*·~-.¸

Feitian Bluetooth FIDO Security Key:
Yubico FIDO U2F Security Key:

,.-~*´¨¯¨`*·~-.¸-( Hardware Wallets )-,.-~*´¨¯¨`*·~-.¸

Ledger Nano S (also a FIDO U2F device):

,.-~*´¨¯¨`*·~-.¸-( Exchanges )-,.-~*´¨¯¨`*·~-.¸

Join Binance:
Join KuCoin:

,.-~*´¨¯¨`*·~-.¸-( Donations Addresses )-,.-~*´¨¯¨`*·~-.¸

BitShares: Crypto49er

,.-~*´¨¯¨`*·~-.¸-( Disclaimer )-,.-~*´¨¯¨`*·~-.¸
This video should not be taken as financial advice.


31 Comentários

  1. what if your current price was greater than lowestPrice, so you sent a buy signal and suddenly the market crashed right after you purchased.
    And maybe the current price went to -15% for 2 months. So you are basically sitting there for 2 months not doing anything, just hoping that one day the price will be more than 3% of what you purchased price.

  2. applied on different pairs, it is working and making profits almost every time. Thanks for the strategy man <3

  3. Cool and simple strategy! But as your description says " Define strategy to never sell when current price less than purchased price", many trades would hit the liquidation prices, wouldn't they?

  4. I did something similar it a lost in down trend you will lose money for sure

  5. However, if market falls and falls and falls – it will never bail out – hence loosing all you got if price ends at ZERO…

  6. hi

    I have another idea for Never Lose a Trade.
    I'm having trouble (gekko) creating code.
    I can send you a private mail if you want

  7. Variable protection/safety is actually not about security (as in "getting hacked"), it's about the assurance that you (or a team member) will not accidentally access a variable thinking it's another or mutate a variable someone/something else is using.

    Thank you very much about the valuable insights in strategy implementation 😉

  8. But if you enter at the same price you exit you are still out the fees, so you do lose a little bit. Interesting, nonetheless!

  9. Great information I have just installed Gekko on a Raspberry pi it runs ok i'm using the UI but when I do a Backtest the results just shows the graph with no figures. The Roundtrips says Not enough data to display. Please could you point me into the right direction as to what I have missing or what I need to do thanks in advance David

  10. Hey, man! I appreciate the exercise, it's helping me learn scripting, because I don't know it, but have dabbled. I have been a trader in the past and have a good mind for it, so perhaps you can help me develop a strategy, which involves a lot of if/then/else too. Let me help you first. I agree with the guy below: Not only are you leaving a lot of money on the table in a bull market (and that this will only work in a bull market), but it won't work in a bear market. In fact, in a down market, this bot will just wait for it to turnaround, but as early as the first trade, it is possible for the market to go down, get away from you, and now you have a big unrealized loss while the bot is waiting for a 3% gain (which can be fixed by adding the trailing stop function, whose setting must be wide enough to let the market trade without pinging you out). I have a solution though: Is there a way to add another if/then in the strategy logic that compares the current candle to the last candle before the sell decision? If so, then add 'if candle.close is > last.candle.close AND at least >= sellPrice, then advice = false, else advice = "short".' Would it not then wait to sell until the very candle that was a tick down from a high? In fact, you could change your 'buy-in' logic from an arbitrary *0.98 to a calculation of, say, something a little tighter (1%… 2% downticking is a lot in a bull market) AND candle comparisons down until you get an uptick. When both things are true, enter trade.

    Also, so it will work in a bear market, it is possible for Gekko to do short trading with an account set up for margin? (And would this be on a 1:1 basis, or could leverage be used?) If so, then one could make money using the same strategy on the way down. You could compare candles, one to another as above, and when there's a down-tick, swing the trade to not only sell a long, but also sell short. Then set the step very short, say 1.5-2%, comparing candles on the way down where both the sellPrice step setting AND then comparison of the current.candle.close < last.candle.close, until it isn't, then buy back in (and go long?). Using the trailing stop function at a reasonable interval might also be helpful to guard against drastic moves, like a short squeeze where one candle might be 6-10% different than the last. Changing it in this way would not leave money on the table AND would cover a big loss if the market moves drastically against you within one candle, which we've seen with bitcoin. What do you think? Contact me, and I'll share my thoughts an an multi-indicator stat. We can exchange emails… Lemme know how to make these changes to this step strat. I'd like to try it. Thanks!

  11. if too many people use the same strat, the whale may come and eat all the fish in this group, so our strats have to be diversified. and, that's why the indicators work sometimes and don't other times

  12. I had some problems to configure the bot.. Now I use cryptohopper and Trade Santa, but CH has a very overloaded interface and last time I use Trade Santa basically

  13. you are a brilliant lad! giving us this much insight into coding and how to make use of code in a smart way is unbelievable awesome. thx man!

  14. Testing the strategy live but on binance seems to not sell entire usdt balance and stuck after first trade. any specific areas to edit in the strategy file?

  15. is never lose trading can be used for newbie like me?

  16. hi there, new to gekko, very inspired to start learning java. thanks! I have heard that stop loss parameters are citical? does this strategy use stops? would think it would be required for a bear market.

  17. I'd be interested in seeing what your strat does in a tanking situation. If it's constantly holding that means that you're optimistic that it'll come back up some day. so I guess with this strat your in it for the long game right?

  18. What i did wrong here ?(only makes 1 buy trade while backtesting)

    var _ = require('lodash');
    var log = require('../core/log.js');
    var watchPrice = 0.0;
    var lowestPrice = 0.0;
    var sellPrice = 0.0;
    var advised = false;

    // Let's create our own strategy
    var strat = {};

    // Prepare everything our strat needs
    strat.init = function() {
    this.requiredHistory = this.tradingAdvisor.historySize;

    // What happens on every new candle?
    strat.update = function(candle) {
    log.debug('candle time', candle.start);
    log.debug('candle close price:', candle.close);

    // For debugging purposes.
    strat.log = function() {


    // Based on the newly calculated
    // information, check if we should
    // update or not.
    strat.check = function(candle) {

    if(watchPrice == 0){
    watchPrice = candle.close * 0.98;
    if(candle.close <= watchPrice){
    lowestPrice = candle.close;
    if(candle.close > lowestPrice && !advised){
    log.debug('Buying at', candle.close);
    sellPrice = candle.close * 1.03;
    advised = true;
    if(candle.close > sellPrice && watchPrice != 0 && lowestPrice != 0){
    log.debug('Selling at', candle.close);
    watchPrice = 0;
    lowestPrice = 0;
    buyPrice = 0;
    sellPrice = 0;
    advised = false;


    module.exports = strat;

Comentários estão fechados.