Вы находитесь на странице: 1из 2

_SECTION_BEGIN("FIBONACCI HIGH PROBABILITY ZONES");

ShowFibHiProbZone=ParamToggle("Show FIb High-Probability Zone","No|Yes",1);


HpzColor = ParamColor("Line Color",colorgold);
Periodicity = inDaily;

if(ShowFibHiProbZone AND Interval()<inHourly)


{
Periodicity = inDaily;
}
else if(ShowFibHiProbZone AND Interval()==inHourly)
{
Periodicity = inWeekly;
}
else if (ShowFibHiProbZone AND Interval()>=inDaily AND Interval()<inMonthly)
{
Periodicity = inMonthly;
}
else if(ShowFibHiProbZone AND Interval()>inWeekly AND Interval()<inYearly)
{
Periodicity = inYearly;
}
else // Default just to silence the compiler. This will never occur.
{
Hi=Ref(H,-1);
Lo=Ref(L,-1);
Cl=Ref(C,-1);
}

Hi=TimeFrameGetPrice("H",Periodicity,-1);
Lo=TimeFrameGetPrice("L",Periodicity ,-1);
Cl=TimeFrameGetPrice("C",Periodicity ,-1);

p=(Hi+Lo+Cl)/3;
r1=p+((Hi-Lo)/2);
s1=p-((Hi-Lo)/2);
r2=p+(Hi-Lo);
s2=p-(Hi-Lo);

//Bands
s1b=((Hi-Lo)*0.618)-p;
s2b=((Hi-Lo)*1.382)-p;

r1b=((Hi-Lo)*0.618)+p;
r2b=((Hi-Lo)*1.382)+p;

extnd=0;
sty=styleNoLabel|styleStaircase|styleline|styleNoRescale;
Plot(r1-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);
//PlotOHLC(r1,r1,r1b,r1b,"",Col,sty|styleClipMinMax|styleCloud|
styleNoLine,Null,Null,extnd,1000);

Plot(s1-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);
//PlotOHLC(s1,s1b,s1,s1b,"",Col,sty|styleClipMinMax|styleCloud|
styleNoLine,Null,Null,extnd,1000);
Plot(p-extnd,"",HpzColor ,styleNoLabel|styleStaircase|styleDashed|
styleNoRescale,Null,Null,extnd,1000);
Plot(r2-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);
Plot(s2-extnd,"",HpzColor ,sty,Null,Null,extnd,1000);

//Daily Range Hi Lo
//Plot(Hi-extnd,"",ColorBlend(colorLime,colorBrightGreen) ,styleNoLabel|
styleStaircase|styleNoRescale,Null,Null,extnd,1000);
//Plot(Lo-extnd,"",ColorBlend(colorCustom12,colorRed) ,styleNoLabel|styleStaircase|
styleNoRescale,Null,Null,extnd,1000);

_SECTION_END();

Вам также может понравиться

  • SuppRes+Pivot Buy Sell+MA+Trendline For Amibroker
    SuppRes+Pivot Buy Sell+MA+Trendline For Amibroker
    Документ10 страниц
    SuppRes+Pivot Buy Sell+MA+Trendline For Amibroker
    maddy_i5
    Оценок пока нет
  • Intraday Trend Reversal Afl
    Intraday Trend Reversal Afl
    Документ4 страницы
    Intraday Trend Reversal Afl
    Rajendra Singh
    Оценок пока нет
  • Kelvinhand V1 Rocket Jet ALF
    Kelvinhand V1 Rocket Jet ALF
    Документ18 страниц
    Kelvinhand V1 Rocket Jet ALF
    prasch
    100% (1)
  • Auto Trend Line Support and Resistence
    Auto Trend Line Support and Resistence
    Документ10 страниц
    Auto Trend Line Support and Resistence
    raj06740
    Оценок пока нет
  • Range Breakout Strategy 7.0
    Range Breakout Strategy 7.0
    Документ7 страниц
    Range Breakout Strategy 7.0
    maddy_i5
    Оценок пока нет
  • Quadra Trading System
    Quadra Trading System
    Документ4 страницы
    Quadra Trading System
    maddy_i5
    Оценок пока нет
  • Advanced Elliot
    Advanced Elliot
    Документ1 страница
    Advanced Elliot
    maddy_i5
    Оценок пока нет
  • Gann Nine Amibroker Code
    Gann Nine Amibroker Code
    Документ6 страниц
    Gann Nine Amibroker Code
    maddy_i5
    Оценок пока нет
  • Options Afl
    Options Afl
    Документ3 страницы
    Options Afl
    Vijay Kumar
    Оценок пока нет
  • Likon's Pivot Trading System
    Likon's Pivot Trading System
    Документ4 страницы
    Likon's Pivot Trading System
    NishaMehta
    0% (1)
  • Amicod 1
    Amicod 1
    Документ69 страниц
    Amicod 1
    Frank Ben
    0% (1)
  • Murray Maths With Patterns Modified Intraday
    Murray Maths With Patterns Modified Intraday
    Документ10 страниц
    Murray Maths With Patterns Modified Intraday
    maddy_i5
    Оценок пока нет
  • CCI Panel
    CCI Panel
    Документ23 страницы
    CCI Panel
    Soma_Venkata_S_6410
    Оценок пока нет
  • Volatility Trading System
    Volatility Trading System
    Документ4 страницы
    Volatility Trading System
    Sha Bond
    Оценок пока нет
  • Buy Sell Target
    Buy Sell Target
    Документ3 страницы
    Buy Sell Target
    Jack Johnson
    Оценок пока нет
  • Achiever Afl
    Achiever Afl
    Документ76 страниц
    Achiever Afl
    bharatbaba363
    Оценок пока нет
  • Multi Pivot
    Multi Pivot
    Документ3 страницы
    Multi Pivot
    maddy_i5
    Оценок пока нет
  • Bandpass Filter Ehlers
    Bandpass Filter Ehlers
    Документ11 страниц
    Bandpass Filter Ehlers
    fredtag4393
    Оценок пока нет
  • Earn Daily in Your Choice of Stock
    Earn Daily in Your Choice of Stock
    Документ19 страниц
    Earn Daily in Your Choice of Stock
    Rajen Vyas
    Оценок пока нет
  • VPA Analysis - Pinescript R1
    VPA Analysis - Pinescript R1
    Документ13 страниц
    VPA Analysis - Pinescript R1
    SRIDHAR GOVARDHANAN
    Оценок пока нет
  • Super Trend Afl
    Super Trend Afl
    Документ5 страниц
    Super Trend Afl
    Shailesh P
    Оценок пока нет
  • Half Trend With SSL Hybrid
    Half Trend With SSL Hybrid
    Документ31 страница
    Half Trend With SSL Hybrid
    kashinath09
    Оценок пока нет
  • Sheroune 2 1 1.afl
    Sheroune 2 1 1.afl
    Документ11 страниц
    Sheroune 2 1 1.afl
    udhaya kumar
    Оценок пока нет
  • Tom de Mark 1.afl
    Tom de Mark 1.afl
    Документ3 страницы
    Tom de Mark 1.afl
    Javier Fernández González
    Оценок пока нет
  • Hurst Cycles
    Hurst Cycles
    Документ5 страниц
    Hurst Cycles
    Pravin Yeluri
    100% (1)
  • Indicator
    Indicator
    Документ22 страницы
    Indicator
    Naveen Kumar
    Оценок пока нет
  • Amibroker File
    Amibroker File
    Документ9 страниц
    Amibroker File
    Narendra Bhole
    Оценок пока нет
  • Better Volume Other Formats 19aug12
    Better Volume Other Formats 19aug12
    Документ11 страниц
    Better Volume Other Formats 19aug12
    Vijay
    Оценок пока нет
  • Trendline Breakout Trading System
    Trendline Breakout Trading System
    Документ3 страницы
    Trendline Breakout Trading System
    Osama Al Shsmmari
    Оценок пока нет
  • Rs I Divergence
    Rs I Divergence
    Документ2 страницы
    Rs I Divergence
    Pravin Yeluri
    Оценок пока нет
  • Trading With The Heikin Ashi Candlestick Oscillator
    Trading With The Heikin Ashi Candlestick Oscillator
    Документ7 страниц
    Trading With The Heikin Ashi Candlestick Oscillator
    Darren Tan
    Оценок пока нет
  • Volume Price Analysis
    Volume Price Analysis
    Документ18 страниц
    Volume Price Analysis
    Sha Bond
    Оценок пока нет
  • Gann Afl
    Gann Afl
    Документ3 страницы
    Gann Afl
    shanmugam
    Оценок пока нет
  • MetaStock Gann Swing Formula
    MetaStock Gann Swing Formula
    Документ6 страниц
    MetaStock Gann Swing Formula
    Francis Singapore
    100% (2)
  • Intraday Scalping For Amibroker
    Intraday Scalping For Amibroker
    Документ2 страницы
    Intraday Scalping For Amibroker
    prasch
    Оценок пока нет
  • CPR With Floor Pivot For Pine Language of
    CPR With Floor Pivot For Pine Language of
    Документ3 страницы
    CPR With Floor Pivot For Pine Language of
    Viswanathan Valliappan
    100% (1)
  • Vpa Candles
    Vpa Candles
    Документ15 страниц
    Vpa Candles
    ankit1844
    Оценок пока нет
  • 2 Combination Strategy
    2 Combination Strategy
    Документ4 страницы
    2 Combination Strategy
    xomavi8122
    Оценок пока нет
  • Learning AmiBroker - Three Stages of Knowledge
    Learning AmiBroker - Three Stages of Knowledge
    Документ2 страницы
    Learning AmiBroker - Three Stages of Knowledge
    net_travellers
    0% (1)
  • Hybrid Code
    Hybrid Code
    Документ19 страниц
    Hybrid Code
    Thuận Nguyễn văn
    Оценок пока нет
  • Madras PDF
    Madras PDF
    Документ6 страниц
    Madras PDF
    Arifa Nizam Inamdar
    Оценок пока нет
  • MurreyMathCalculator, Version 1.3
    MurreyMathCalculator, Version 1.3
    Документ3 страницы
    MurreyMathCalculator, Version 1.3
    Chomoolungma
    Оценок пока нет
  • AR Prediction - Afl.afl
    AR Prediction - Afl.afl
    Документ21 страница
    AR Prediction - Afl.afl
    udhaya kumar
    Оценок пока нет
  • Larry Williams Percent R Indicator
    Larry Williams Percent R Indicator
    Документ4 страницы
    Larry Williams Percent R Indicator
    api-285777244
    Оценок пока нет
  • Golden Ratio
    Golden Ratio
    Документ2 страницы
    Golden Ratio
    NishaMehta
    Оценок пока нет
  • Ema Macd Rsi Explore
    Ema Macd Rsi Explore
    Документ3 страницы
    Ema Macd Rsi Explore
    bharatbaba363
    Оценок пока нет
  • Money Vatika Trend
    Money Vatika Trend
    Документ5 страниц
    Money Vatika Trend
    Vikas
    100% (1)
  • Good Afl File
    Good Afl File
    Документ2 страницы
    Good Afl File
    amirnsu
    Оценок пока нет
  • AmiBroker Program
    AmiBroker Program
    Документ134 страницы
    AmiBroker Program
    gaiajd
    Оценок пока нет
  • Afl
    Afl
    Документ29 страниц
    Afl
    indianroadromeo
    Оценок пока нет
  • Supertrend V1
    Supertrend V1
    Документ1 страница
    Supertrend V1
    rohit
    Оценок пока нет
  • KPL Swing Trading System AFL Code
    KPL Swing Trading System AFL Code
    Документ21 страница
    KPL Swing Trading System AFL Code
    mahendraborade
    100% (1)
  • Ema, TSR, Adx
    Ema, TSR, Adx
    Документ27 страниц
    Ema, TSR, Adx
    vevo Entertainment Studios
    Оценок пока нет
  • Hedging Breakeven Calculator
    Hedging Breakeven Calculator
    Документ11 страниц
    Hedging Breakeven Calculator
    jitendrasutar
    Оценок пока нет
  • Setup Mafia 3.5
    Setup Mafia 3.5
    Документ5 страниц
    Setup Mafia 3.5
    Gustavo rc
    Оценок пока нет
  • Intraday Opening Range Breakout Sysytem AFL
    Intraday Opening Range Breakout Sysytem AFL
    Документ3 страницы
    Intraday Opening Range Breakout Sysytem AFL
    praneet singh
    Оценок пока нет
  • Sunil Kale
    Sunil Kale
    Документ57 страниц
    Sunil Kale
    venkata sivaram posa
    Оценок пока нет
  • Fonte SUPER T
    Fonte SUPER T
    Документ33 страницы
    Fonte SUPER T
    musicmaker666
    Оценок пока нет
  • 1 Mins Strategy
    1 Mins Strategy
    Документ7 страниц
    1 Mins Strategy
    shivus7337069
    Оценок пока нет
  • TRADERS' TIPS - December 2008
    TRADERS' TIPS - December 2008
    Документ26 страниц
    TRADERS' TIPS - December 2008
    Gabe
    Оценок пока нет
  • LR Mean Reversion
    LR Mean Reversion
    Документ1 страница
    LR Mean Reversion
    maddy_i5
    Оценок пока нет
  • High Beta Scanner
    High Beta Scanner
    Документ1 страница
    High Beta Scanner
    maddy_i5
    Оценок пока нет
  • Astrology
    Astrology
    Документ5 страниц
    Astrology
    Arup Ghosh
    Оценок пока нет
  • Gann Nine Amibroker Code
    Gann Nine Amibroker Code
    Документ6 страниц
    Gann Nine Amibroker Code
    maddy_i5
    Оценок пока нет
  • Quadra Trading System
    Quadra Trading System
    Документ4 страницы
    Quadra Trading System
    maddy_i5
    Оценок пока нет
  • Detrended Price Oscillator
    Detrended Price Oscillator
    Документ1 страница
    Detrended Price Oscillator
    maddy_i5
    Оценок пока нет
  • Pair Ratio
    Pair Ratio
    Документ2 страницы
    Pair Ratio
    maddy_i5
    Оценок пока нет
  • Stenitz System
    Stenitz System
    Документ1 страница
    Stenitz System
    maddy_i5
    Оценок пока нет
  • Multi Pivot
    Multi Pivot
    Документ3 страницы
    Multi Pivot
    maddy_i5
    Оценок пока нет
  • Rough Calc 2
    Rough Calc 2
    Документ2 страницы
    Rough Calc 2
    maddy_i5
    Оценок пока нет
  • Joke Ma
    Joke Ma
    Документ1 страница
    Joke Ma
    maddy_i5
    Оценок пока нет
  • Advanced Elliot
    Advanced Elliot
    Документ1 страница
    Advanced Elliot
    maddy_i5
    Оценок пока нет
  • Days Range Different Method
    Days Range Different Method
    Документ1 страница
    Days Range Different Method
    maddy_i5
    Оценок пока нет
  • TB - Price Chart With Shapes
    TB - Price Chart With Shapes
    Документ4 страницы
    TB - Price Chart With Shapes
    maddy_i5
    Оценок пока нет
  • The Decomposition Method
    The Decomposition Method
    Документ1 страница
    The Decomposition Method
    maddy_i5
    Оценок пока нет
  • Murray Maths With Patterns Modified Intraday
    Murray Maths With Patterns Modified Intraday
    Документ10 страниц
    Murray Maths With Patterns Modified Intraday
    maddy_i5
    Оценок пока нет
  • Sureshot Real Formula
    Sureshot Real Formula
    Документ6 страниц
    Sureshot Real Formula
    maddy_i5
    Оценок пока нет
  • SVE Trend Trails
    SVE Trend Trails
    Документ2 страницы
    SVE Trend Trails
    maddy_i5
    Оценок пока нет
  • The Wheel
    The Wheel
    Документ4 страницы
    The Wheel
    maddy_i5
    Оценок пока нет
  • Previous Day High Low
    Previous Day High Low
    Документ1 страница
    Previous Day High Low
    Arjun k
    Оценок пока нет
  • Buysell Signal Generation Module 2
    Buysell Signal Generation Module 2
    Документ2 страницы
    Buysell Signal Generation Module 2
    maddy_i5
    0% (1)
  • Vwap Crossover
    Vwap Crossover
    Документ1 страница
    Vwap Crossover
    maddy_i5
    Оценок пока нет
  • Auto Trader
    Auto Trader
    Документ49 страниц
    Auto Trader
    maddy_i5
    100% (1)
  • 6th Central Pay Commission Salary Calculator
    6th Central Pay Commission Salary Calculator
    Документ15 страниц
    6th Central Pay Commission Salary Calculator
    rakhonde
    100% (436)
  • 9 Number Percentage
    9 Number Percentage
    Документ3 страницы
    9 Number Percentage
    maddy_i5
    Оценок пока нет
  • Bramva
    Bramva
    Документ28 страниц
    Bramva
    NAME
    Оценок пока нет
  • Vedic
    Vedic
    Документ2 страницы
    Vedic
    maddy_i5
    Оценок пока нет