Abdul-Rahim

12/26-IT strategy

Abdul-Rahim מעודכן   
Base of this Strategy is crossover of 12EMA on 26EMA.
Also multiple other criteria has to meet for buy signal, Criterias mentioned below


//////////////////////////////////

There two entry option to select. Either one or both can be selected:

1. Only 12/26 Cross over
a. 12/26 crossover.
b. RSI (14) value to be between a range (RSI is inbuilt, but lower and upper range can be defined in settings)
c. MACD (12, 26) to be positive and above signal line (this is inbuilt)


2. Recent 12/26 Cross over and closing above pivot point(resistance)
a. 12/26 crossover has to be recent, CrossOverLookbackCandles value will look for crossover in # previous candles..
b. RSI (14) value to be between a range (RSI is inbuilt, but lower and upper range can be defined in settings)
c. MACD (12, 26) to be positive and above signal line (this is inbuilt)
d. closing above resistance line

//////////////////////////////////

For Exit we have three options. you can select any SL as per your need, multiple SLs can also be selected

1. Trailing Stop Loss.
Source for TSL is adjustable(open, close, high or low), also you have to mention % below your source TSL has to be placed.
Once closing is below TSL, exit will be triggered.

2. Closing below 7SMA
After 7SMA SL is enabled, 7SMA will be plotted on chart and exit signal will be triggered when closing is below 7SMA.
Choose this option for LESS risk and rewards

3. 12/26 Crossdown
Once 12EMA crossdown below 26EMA, exit will be triggered.
Choose this option for HIGH risk and rewards

//////////////////////////////////

Resistance line is plotted based on left and right candles, if 10(can be changed) is used for both left and right, indicator will look for 10 candles in left and 10 candles in right and if both left and right candle are lower then a line is plotted.
Source has to be selected (close or high)

//////////////////////////////////

Qty mentioned in Buy trigger will be based on BUYVALUE entered

//////////////////////////////////

Multiple Target option is available, if first target is matched how much percentage of qty to be sold can be defined.
If you wish to have only one Target, then exit qty in first target must be 100




הערות שחרור:
1. Removed 7SMA as Stoploss and given provision to use EMA/SMA of their choice as StopLoss.
2. Background will be colored on Buy Entry.
הערות שחרור:
Mistake in Entry criteria, it was referring to crossover in previous candle.
Now changed to current candle.
הערות שחרור:
Added option to choose source(close, high, low, etc) for MA stoploss.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?