- Katılım
- 23 Eki 2020
- Mesajlar
- 1,826
3 DAY RSI Divergence for Amibroker (AFL)
3 DAY RSI Divergence Exploration Formula with ENTRY, SL & Targets.
Kod:
// Downloaded From https://www.WiseStockTrader.com
_SECTION_BEGIN("RSIDivergenceExploration");
L3 = SelectedValue( TimeFrameGetPrice( "L3", inDaily, -2 ) );
L2 = SelectedValue( TimeFrameGetPrice( "L2", inDaily, -1 ) );
L1 = Low;
RSI1 = RSI(14);
RSI2 = RSI(14)-1;
RSI3 = RSI(14)-2;
P = Volume>1000000;
Filter = L2<L3 AND L1>L2 AND L1>L3 AND RSI2>RSI3 AND RSI1>RSI2 AND RSI2 >50 AND RSI1<60 AND P;
X = 0.02*H;
Y = 0.03*H;
Z = 0.05*H;
Entry = High+0.50;
Trgt1 = X+C;
Trgt2 = Y+C;
Trgt3 = Z+C;
AddColumn(Close,"Close Price",6.2,1,colorBlueGrey, 75);
AddColumn(Entry,"Entry",6.2,1,colorPaleGreen, 75);
AddColumn(L2,"Stop Loss",6.2,1,colorRed, 75);
AddColumn(Trgt1,"Target1 2%",6.2,1,colorBrightGreen, 75);
AddColumn(Trgt2,"Target2 3%",6.2,1,colorBrightGreen, 75);
AddColumn(Trgt3,"Target3 5%",6.2,1,colorBrightGreen, 75);
_SECTION_END();
www.WiseStockTrader.com