06-27-2018, 07:32 AM

Hello all,

I have an idea for a modification to this strategy, but haven't been able to implement it, and would love some input on how to go about it.

My thought is this:

The RSI_BULL_BEAR_ADX strat gives a "long" advice, we buy.

The RSI_BULL_BEAR_ADX strat gives a "short" advice --

We check the price we bought at, and compare it to the current price.

Then we have some "if" logic, like "if the current price is either 5% above or 1% below the price we bought at, then sell; otherwise, continue to hold and wait for the next time the strat gives a short advice."

This might not sound like much of an idea, but I'd love some guidance on how to implement it; I feel like if I could figure out how to do this, in terms of the structure and where to put that "if" logic, then I could experiment with various different "checks" there, different conditions that have to be met to let the "short" or "long" advice from the original BULL_BEAR_ADX strat proceed to make an actual order.

Any help understanding how to do this would be much appreciated. Thanks in advance for any guidance.

--Henry

I have an idea for a modification to this strategy, but haven't been able to implement it, and would love some input on how to go about it.

My thought is this:

The RSI_BULL_BEAR_ADX strat gives a "long" advice, we buy.

The RSI_BULL_BEAR_ADX strat gives a "short" advice --

We check the price we bought at, and compare it to the current price.

Then we have some "if" logic, like "if the current price is either 5% above or 1% below the price we bought at, then sell; otherwise, continue to hold and wait for the next time the strat gives a short advice."

This might not sound like much of an idea, but I'd love some guidance on how to implement it; I feel like if I could figure out how to do this, in terms of the structure and where to put that "if" logic, then I could experiment with various different "checks" there, different conditions that have to be met to let the "short" or "long" advice from the original BULL_BEAR_ADX strat proceed to make an actual order.

Any help understanding how to do this would be much appreciated. Thanks in advance for any guidance.

--Henry