Buy Below Prev_Low. Sell 100% Above Avg. Pyramiding.This is simple indicator script for long term investors. It will check if the low of today is less than low of yesterday (or any time frame candle) and if the condition is satisfied, then the alert will be triggerred and that particular stock will be bought.
Each time a unit is bought, the average price is calculated and also the trget selling price, which is set at 100% above the average buying price. So once the price reaches that selling price target, the entire holding is sold.
The code resets all the variables back to 0 once a sell signal is triggerred.
Pyramiding
Depth Multiple Time FrameThe price always returns to the average !!!
An important separation of the price with respect to an average, indicates a depth and generally generates a reversion or correction in the trend. Depth detection is a simple and very powerful technique, it is widely used for scalping and pyramid operations, this indicator detects depth in 7 time frames, everything is configurable independently, simultaneous detection of depth in several time frames increases The chances of success in the operation. I personally like pyramidization and it is one of the tools I use to detect depth to average the price of my operations.
thumbs up!!
StrategyTOstudy LongGorila [CODE WITHOUT PYRAMIDING]This code is fofr you to change it and transform a strategy into a study and avoid pyramiding just by editting this lines
longcondition= buy_entry and buy_zone
shortcondition= sell_entry and sell_zone
like this
longcondition= 'YOUR CONDITION HERE'
shortcondition= 'YOUR CONDITION HERE'
and using your own conditions
This particular strategy is only as example and not for actual trading, this code is only to be edited an used to transform your strategies into studies to get alerts