Wednesday 29 November 2017

Bhs system handlowy


Nowe systemy bhs kupno sprzedaj nifty. Below jest afl podobny do powyższego, który skopiowałem z ---- być może to forum only. SECTIONBEGIN MA Diff T 26 KMA C-MA C, T MA C, T 100 Wykres0 KMA Graph0Style 2 4 Graph0BarColor IIf KMA 0,5,4 GraphXSpace 5.SECTIONBEGIN Price SetChartOptions 0, chartShowArrows chartShowDates Działka C, Close, ParamColor Color, colorBlack, styleNoTitle ParamStyle Style GetPriceStyle SEKCJAEND. SECTIONBEGIN ZIG-ZAG P ParamField Zmiana pola cenowego Param change, 5,0 1 , 25,0 1 SEKCJAEND. SECTIONBEGIN EMA P Pole ParamField Price, -1 Okresy Okresy parametrów, 15, 2, 300, 1, 10 SEKCJA SEKCJA SEKCJA SEKCJA MACIERZYCZNA MACIERZYSTA R1 Param Parametr szybki, 12, 2, 200, 1 r2 Param , 26, 2, 200, 1 r3 Param Signal avg, 9, 2, 200, 1 Z Param zig, 1,0,10,0 1.Cond3 Zig C, Z Zig C, z, -4 Kup Cond1 i Cond3.Cond6 Zig C, z Ref Zig C, z, -4 Sprzedaj Cond4 i Cond6 Trigger WriteIf Kup, kup, WriteIf Sprzedaj, Sell. BG IIf Kup, colorPaleGreen, IIf Sprzedaj, colorRose, colorDefault FG IIf Kup, colorDar kGreen, IIf Sell, colorDarkRed, colorDefault. if Działanie actionIndicator Działka C,, colorGrey50, styleBar PlotShapes IIf Kupuj, kształtujArray, shapeNone, colorWhite, 0, L, Offset -30 PlotShapes IIf Sprzedaj, kształtujDownArrow, shapeNone, colorWhite, 0, H , Offset -30.Filter Kup lub sprzedaj SetOption NoDefaultColumns, True. AddTextColumn Name, Symbol, 77, FG, BG, 120 DataCommandComponent Data, formatDateTime, FG, BG, 100 AddColumn TimeNum, Czas, 1 AddColumn C, Close, 1 3 AddColumn H, Wysoka, 1 3 AddColumn V, Volume AddColumn Odnośnik V, -1, P-Vol AddColumn V Ref V, -1 100, Zwiększ w Vol AddColumn Kupuj, kupuj, 1 AddColumn Sprzedaj, Sprzedaj, 1.shape Kup shapeHollowUpTriangle Sprzedaj kształtHollowDownTriangle. PlotShapes kształt, IIf Kup, colorBlue, colorBlue, 0, IIf Kupno, Low, High. GraphXSpace 7 SEKCJAEND. SECTIONBEGIN EMA3 P ParamField Pole ceny, -1 Okresy Okresy parametrów, 15, 2, 300, 1, 10 SEKCJA. SECTIONBEGIN Tekst w tle C13 czcionki param, 20,10,30,1 C14 Param lewy-prawy, 2 1,1 0,5 0,0 1 C1 5 Param góra-dół, 12,1,20,1 Miny Status osi miny Maxy Status axismaxy lvb Status lastvisiblebar fvb Status firstvisiblebar pxwidth Status pxwidth pxheight Status pxheight GfxSetBkMode transparent 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, status pxheight C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217 217 213 GfxTextOut Name, Stan pxwidth C14, status pxheight C15 GfxSelectFont Tahoma, status pxheight C13 0 5 GfxSetTextColor ColorRGB 103 103 333 GfxTextOut, Status pxwidth C14, status pxheight C15 2 5 GfxSelectFont Tahoma, status pxheight C13 0 5 GfxSetTextColor ColorRGB 103 103 333 GfxTextOut, Status pxwidth C14, status pxheight C15 4 GfxSelectFont MS Sans Serif, 10, 500, False, False, 0 Drugi etap rozpoczyna się tutaj Plik BHS Chart SECTIONBEGIN BHS1 02 SetChartBkColor ParamColor Kolor panelu zewnętrznego, colorLightYellow SetChartBkColor ParamColor BackGround Color, colorBlack pShowtradeLines ParamToggle Pokaż linie handlowe, nie Tak, 1 pShowMarkers ParamToggle Show Znaczniki, Nie Tak, 1 synchronizacja ParamToggle Zsynchronizuj kupno z indeksem zagranicznym, Nie Tak, 1 Volmin Param Minimalna objętość, 5000,0,10000000,50 Volmax Param Maks. Objętość, 1000000,0,10000000,50 priceRL Param Zakres cen Min, 150 , 1,20000,1 priceRH Param Zakres cenowy Max, 3000,1,20000,1 PercChangemin Param Percentage Zmiana Min set, -25, -100, 100, 0 1 PercChangemax Zmiana procentu procentowego Maks. Ustaw., 25, -100, 100, 0 1 PerctakeProfit Param Wprowadź Zysk procentowy Set, 0 5,0 3,30,0 1 PercStoploss Param StopLoss Zestaw procentowy, 1,0 2,5,0 1.PlotOHLC Open, High, Low, Close,, colorWhite, styleCa ndle Bars 0 xpdh 90.PlotRange CzasNieść 85500 i godzina 153500 I dataNom Data ostatniego DataNum FHRange TimeNum 085500 i godzina 093000 i dataNom LastValue DataNum. FHPrices Wysokie FHRange FHMarker BarsSince FHRange 0.NumBars 36000 Interwał 1.TimeFrameSet inDaily TOP Open PDH Ref High, -1 PDL Ref Niska, -1 PDO Ref Otwórz, -1 PDC Ref Close, -1 PDM PDH PDL 2 TimeFrameRestore. isAll True isRth TimeNum 085400 I TimeNum 093000 isdRth TimeNum 085400 I TimeNum 160000.aRthL IIf isRth, L, 1000000 aRthH IIf isthr, h, null aRthld IIfdth, L, 1000000tOP TimeFrameExpand TOP, inDaily, expandFirst PDH TimeFrameExpand PDH, inDaily, expandPierwszy PDL TimeFrameExpand PDL, inDaily , expandPierwszy PDO TimeFrameExpand PDO, inDaily, expandPierwszy PDC TimeFrameExpand PDC, inDaily, expandPierwszy PDM TimeFrameExpand PDM, inDaily, expandFirst FHH Ref HHV High FHRange, NumBars, - FHMarker FHL TimeFrameCompress aRthL, inDaily, compressLow FHL TimeFrameExpand FHL, inDaily, expandFirst DayH TimeFrameCompress aRthH , inDaily, compressHigh DayH TimeFrameExpand DayH, inDaily, expandFirst DayL TimeFrameCompress aRthLd, inDaily, compressLow DayL TimeFrameExpand DayL, inDaily, expandFirst. A IIf FC4 FC1 PDH 0 005, FC1,0 B IIf FC4 FC2 PDH 0 005 i FC4 FC1 PDH 0 005 , FC2,0 Cl IIf FC4 FC3 i FC4 FC2 PDH 0 005, FC3,0 AF AB Cl. obce SECTIONBEGIN indeks zewnętrzny wykres słupkowy Vr ParamList Index, lista IN NS, 0 SetForeign Vr HaC OHLC 4 HaO AMA Ref HaC, -1, 0 HaH Max H, Max HaC, HaO HaL Min L, Min HaC, HaO BG3 HHV LLV HaL , 4 ATR 4, 8 BR3 LLV HHV HaH, 4-ATR 4, 8 co IIf Hac BG3, colorBrightGreen, IIf Hac BR3, colorRed, colorGrey50 Działka 4,, Co, stylPowierzdź styleNieNajwyższy stylNoLabel, -1, 100 RestorePriceArrays SEKCJAEND. BuyPrice DayL Kupno AF1 KupujCena KupCzasamiZaprojektujProdukt 100 KupTP2 KupujCzasięCzasnąCzasęPrzesuńPrzedstawkęProdukt 100 SprzedajęC2C Koszt SprzedażyPrzeznaczenieProduktu 100 SprzedajęC2 C Kosztopump1 percchange C-TOP TOP 100 V Volmin i V VMPMax percchange PercChangemin I Percchange PercChangemax prc C cena IWYKRZYDKOŚĆ BuyStop1 BuyPrice-KupPrice PercStoploss 100 KupStop2 IIf KupStop1 Koszt Sprzedazy i SprzedajCena KupujPrzeda, SprzedajPomoc, KupStop1 SprzedaB1 SprzedajCa SprzedaBina PercStoploss 100 SellStop2 IIf SellStop1 KupujPrzeda i SprzedajCa KupujPrzeda, KupujPrac, SellStop1.BuyStop IIf Kupuj, a nie KupTP2, KupS top2, Null BuyTP IIf Kup i nie KupStop, KupTP2, Null. Bars BarySince TimeNum 85400 i TimeNum 092900 x0 BarCount-LastValue Bary x1 BarCount-1 ToPLine LineArray x0, LastValue Góra, x1, LastValue Góra, 0 PDHLine LineArray x0, LastValue PDH, x1, LastValue PDH, 0 PDLLine LineArray x0, LastValue PDL, x1, LastValue PDL, 0 PDCLine LineArray x0, LastValue PDC, x1, LastValue PDC, 0 PDMLine LineArray x0, LastValue PDM, x1, LastValue PDM, 0 FHHLine LineArray x0, LastValue FHH, x1, LastValue FHH, 0 FHLLine LineArray x0, LastValue FHL, x1, LastValue FHL, 0 BuyPriceline LineArray x0, LastValue KupPrice, x1, L astValue KupPrice, 0 BuyStopline LineArray x0, LastValue KupStop2, x1, La stValue KupStop2, 0 KupTPline LineArray x0, LastValue KupTP1, x1, LastVa lue BuyTP1, 0 SellPriceline LineArray x0, LastValue Sprzedaj cenę, x1, LastValue SellPrice, 0 SellStopline LineArray x0, LastValue SellStop2, x1, LastValue SellStop2, 0 SellTPline LineArray x0, LastValue SellTP1, x1, ostatnia wartość SellTP1, 0 DayHline LineArray x0, ostatnia Wartość DayH, x1, LastValue DayH, 0 DayLline LineArray x0, LastValue DayL, x1, LastValue DayL, 0.Plot IIf pShowtradeLines, BuyStopline, Null, BuySto p, colorBrightGreen, stylDotać stylNoRescale styleNoLine Plot IIf pShowtradeLines, SellPriceline, Null, Shor t Here , colorRed, styleDots styleNoRescale PlotShapes IIf pShowMarkers I Kupuj, shapeHollowUpArrow, Null, colorDarkGreen, 0, L, Offset -30.if Działanie actionIndicator statusu Tytuł EncodeColor colorWhite BHS2 System - Nazwa - Kolor EncodeColor Kolorowy Interwał 2 EncodeColor colorYellow - Data - EncodeColor colorYellow - Open WriteVal O, 1 EncodeColor colorYellow - High WriteVal H, 1 EncodeColor colorYellow - Zamknij WriteVal C, 1 EncodeColor colorYellow - Vol WriteVal V, 1 WriteIf Percchange, Zmień Percchange, n Poprzedni DzieńHistoria WriteVal PDH, 1, Poprzedni DayLow WriteVal PDL, 1, Dzisiaj Wysoki WriteVal DayH, 1, Todays Niski WriteVal DayL, 1 Comm2 n Vr Faza WriteIf Hac BG3, kolor EncodeColorBrightGreen Up, WriteIf Hac BR3, EncodeColor colorRed - Down, EncodeC olor colorLightYellow Flat. GfxSetOverlayMode mode 0 GfxSelectPen colorLightBlue, 3 GfxSelectSolidBrush colorLightYellow GfxRoundRect 20, 55, 180, 175, 15, 15 GfxSetBkMode 1 GfxSelectFont Arial, 10, 700, False GfxSetTextColor colorBrown GfxSetTextAlign 0 GfxTextOut WriteIf Buystop2, TRP poziom Buystop2,, 30, 60 GfxTextOut WriteIf BuyPrice, kupuj powyżej ceny kupna,, 30, 75 GfxTextOut WriteIf BuyStop2, Long SL KupStop2,, 30, 90 GfxTextOut WriteIf BuyTP1 Long Target 1 KupTP1,, 30, 105 GfxTextOut WriteIf SellPrice, Sprzedaj poniżej Sprzedaży,, 30, 120 GfxTextOut WriteIf SellStop2, krótki SL SellStop2,, 30, 135 GfxTextOut WriteIf SellTP1, Short Target SellTP1,, 30, 150.AddColumn V, Volume, 1 0 AddColumn Percchange, Zmień, 1 2 AddColumn BuyPrice, Kupuj, 1 2 AddColumn BuyStop, Kup Stop at, 1 2 AddColumn BuyTP1, Buy Profit, 1 2 AddColumn SellPrice, Short at, 1 2Component AddColumn SellTP1, Krótki zysk w, 1 2.SECTIONBEGIN krótki sygnał HaClose OHLC 4 HaOpen AMA Ref HaClose , -1, 0 5 HaHigh Max H, Max HaClose, HaOpen HaLow Min, Min HaClose, HaOpen BG2 HHV LLV Niska, 4 ATR 4, 8 BR2 LLV HHV Wysoka, 4 - ATR 4, 8 SetBarFillColor IIf OC, colorSeaGreen, colorOrange k Optymalizacja K, Param K, 1 75,1,5,0 25, 1,5,0 25 na optymalizację atr, Param atr, 10,3,30,1, 3,30,1 j HaClose nm HL rfsctor WMA nm , PER revers K rfsctor Trend 1 NW 0 0 dla i 1 i BarCount i jeśli Trend i-1 1 jeśli ji NW i-1 Trend i -1 NW iji Revers i inna Trend i 1 jeśli ji - Revers i NW i-1 NW iji - odwroty i inne NW i NW i-1, jeśli trend i-1 -1 jeśli ji NW i-1 Trend i 1 NW iji - odwroty i inne Trend i -1 jeśli ji Revers i NW i-1 NW iji Revers i else NW i NW i-1.Plot NW,, IIf Trend 1, 6, 4, 4.Buy Cross j, nw Short Cross nw, j Sprzedaj Cross nw, j Cover Cross j, nw Kup ExRem Kupuj, Sprzedaj Sprzedaj ExRem Sprzedaj, Kup Short ExRem Short, pokrywa Cover ExRem Cover, Krótkie Plot Shapes IIf Kupuj, kształtujArrow, shapeNone, colorWhite, 0, halow, -30 PlotShapes IIf Sprzedam, kształtHollowDownTriangle, shapeNone, colorWhite, 0, hahigh, -15 P lotShapes IIf Pokrycie, kształtHollowUpTriangle, shapeNone, colorWhite, 0, halow, -15 PlotShapes IIf Krótki, kształtDownArrow, shapeNone, colorWhite, 0, hahigh, -30 ----------- koniec. DODATKOWE PIVOTY LINES LATER. ---- Punkty przegubu DayH TimeFrameGetPrice H, codziennie, -1 wczorajszego dnia DayL TimeFrameGetPrice L, dziennie, -1 niski DayC TimeFrameGetPrice C, in-Day, -1 zamknij DayO TimeFrameGetPrice O, inTurday bieżący dzień otwarty HiDay TimeFrameGetPrice H, inDaily LoDay TimeFrameGetPrice L , dziennie w dzień PP DayH DayL DayO DayO4 R1 2 PP - DayL S1 2 PP - DayH R2 PP R1 - S1 S2 PP S1 - R1 R3 R2 R1 - PP S3 S2 - PP - Styl stylu S1 Styl liniiNikły stylNoRescale kolor rcolor Kolor kredąBlue color colorRed pcolorWhite Działka R1, R1, rcolor, styl Działka R2, R2, rcolor, styl Działka S2, S2, scolor, styl Plot PP, PP, pcolor, styl Działka Plot s3, S3, scolor, styl Działka R3, R3, rcolor, style RangeTitle EncodeColor colorWhite Day Range Kodowanie koloru colourWhite. Kolor tła SetChartBkColor ParamColor Kolor panelu, colorPaleBlue. TicDiv Wartość parametru Tic lub PIP, 1,0,1000000 Parametryzowane parametry przestawne, Nie Tak, 1. barcolor IIf C otwarty, kolorWhite, IIf C otwarty, kolorWhite, colorWhite C, close, barcolor, styleCandle styleNoLabel. EMA34 EMA C, 34 LSMA LinearReg C, 25 PI atan 1 00 4 okresy 30 HighHigh HHV H, okresy LowLow LLV L, okresy od 25 HighHigh - LowLow LowLow x1EMA34 0 x2EMA34 2 y1EMA34 0 y2EMA34 Wartość EMA34, -2 - EMA34 Wartość średnia cEMA34 sqrt x2EMA34 - x1EMA34 x2EMA34 - x1EMA34 y2EMA34 - y1EMA34 y2EMA34 - y1EMA34 kątEMA34 okrągły 180 akrów x2EMA34 - x1EMA34 cEMA34 PI TytułAngleEMA34 Kodak Kolor koloruWhite nEMA34 kąt AFA34 IIf y2EMA34 0, - kątEMEMA34, kątEMAEM34 KolorAMIERA IIf kątEMAEMA34 5, kolorTurkus, kąt IIEMA34 5 i kątEMA34 3 57, kolorDarkGreen, kąt IIFAMA34 3 57 i kątEMA142 14 14, kolorPALOZEL, kąt IIfEMA34 2 14 i kątEMA34 71, kolorLIMI, kąt IIEMA34 -1 5, colorDarkRed, kąt IIEMA34 -1 5 i kątEMA34 -1 3 57, kolorRed, kąt IIEMA34 -1 3 57 AND kątEMA34 -1 2 14, kolorOrange, kąt IIEMA34 -1 2 14 I kątEMA34-171, colorLightOrange, colorYell ow Działka EMA34, EMA 34, kolorystyka, styl Styl styluNikłyLoat lsma, LSMA 25, IIf l lsma, kolorBrightGreen, IIf lsma, colorTeal, colorRed, styleLine stylu stylu ThickNoLabel. Hld IIf C Ref MA H, 7, -1, 1, W przypadku, gdy Hld 0, Hld, 1 Hilo IIf Hlv-1, MA H, 7, MA L, 7 Trigger IIf C Hilo, colorBlue, colorPink Plot Hilo, HiLo , Trigger, styleStaircase. Title EncodeColor colorWhite Name - Kolorowy kolor EncodeColorRed Interval 2 EncodeColor colorTan - Data - Op - Hi Hi - H Lo - L Cl - C n WriteVal V, Dzisiaj Wysoki WriteVal DayH, 2, Todays Low WriteVal DayL, 2. SECTIONBEGIN KupSell-nodll ---------------------------------------------- --------------------------- SetChartOptions 0, chartShowArrows chartShowDates N Tytuł StrFormat Open g, Hi g, Lo g, Zamknij g 1f, O, H, L, C, SelectedValue ROC C, 1.T 26 BHSda C-MA C, T MA C, T 100 func fixed Wykres BHSda Graph0Style 2 4 Graph0BarColor IIf BHSda 0,5,4 GraphXSpace 5.SetChartOptions 0, chartShowArrows chartShowDates Działka C, Zamknij, Kolor ParamColor, colorBlack, styleNotuj styleCandle Plot O, Otwórz, ParamColor Color, colorBlack, styleNoDraw Plot H, Wysoki, Kolor ParamColor, kolorBlack, stylNoDraw L, Niski, Kolor ParamColor, kolorBlack, stylNoDraw. BSAU EMA Max C - C, -1, 0 BHEXPerc BSAC EMA Max Ref C, -1 - C, 0, BHEXPerc x1 BHSMPPer-1 Wartość BSAC 100 Wartość 1 BSAU BSR1 IIf x1 0, C x1, C x1 100 Wartość1 Wartość1 x2 BHSMPPer -1 BSAC Wartość1 100-Wartość2 - BSAU BSR2 IIf x2 0, C x2, C x2 100-Wartość2 Wartość2.Plot BSR1,, colorOrange, styleDashed Plot BSR2,, colorPaleBlue, styleDashed. r1 12 Param Szybkie średnie, 12, 2, 200 , 1 r2 26 Param Parametr powolny, 26, 2, 200, 1 r3 9 Param Paramigr, 9, 2, 200, 1 Z 1 Param zig, 1,0,10,0 1.Cond1 Krzyż MACD r1, r2, sygnał r1, r2, r3 Cond3 Zig C, z Zyk C, z, -4 Kup Cond1 i Cond3.Cond4 Sygnał poprzeczny r1, r2, r3, MACD r1, r2 Cond6 Zig C, z Zig C, z, -4 Sprzedaj Cond4 i Cond6.Trigger WriteIf Kupuj, kup, napisz, sprzedaj, sprzedaj, BSG IIf Buy, colorPaleGreen, IIf Sel l, colorRose, colorDefault BSFG IIf Kup, colorDarkGreen, IIf Sell, colorDarkRed, colorDefault. if Działanie actionExplore OR Działanie actionScan Filter Kup lub sprzedaj SetOption NoDefaultColumns, True AddTextColumn Name, Symbol, 77, BSFG, BSG, 120 AddColumn DateTime, Date , formatDateTime, BSFG, BSG, 100 AddColumn TimeNum, Czas, 1, BSFG, BSG, 100 AddColumn Kup, Kup, 1, BSFG, BSG, 50 AddColumn Sprzedaj, Sprzedaj, 1, BSFG, BSG, 50 AddColumn O, Open, 1 2, BSFG, BSG, 100 AddColumn H, High, 1 2, BSFG, BSG, 100 AddColumn L, Low, 1 2, BSFG, BSG, 100 AddColumn C, Close, 1 2, BSFG, BSG, 100 AddColumn Ref V, -1, P-Vol, 1, BSFG, BSG, 100 AddColumn V Ref V, -1 100, zwiększenie Vol, 1, BSFG, BSG, 100.Kształt Kup shapeHollowUpTriangle Sprzedaj shapeHollowDownTriangle PlotShapes shape, IIf Kup, colorBlue, colorBlue, 0, IIf Kup, niskie, wysokie GraphXSpace 7. --------------------------------------- -------------------------------------------------- ---------------- C13 20 czcionek Param, 20,10,30,1 C14 2 1 Param lewy-prawy, 2 1,1 0,5 0,0 1 C15 12 Param-up, 12,1,20,1 Miny Status osi miny Maxy Status axismaxy lvb Status lastvisiblebar fvb Status firstvisiblebar pxwidth Stan nieprzekraczalny pxheight Status pxheight GfxSetBkMode przezroczysty 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, stan pxheight C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217217213 GfxTextOut Nazwisko, pxwidth C14 Stan pxheight C15 GfxSelectFont Tahoma, stan pxheight C13 0 4 GfxSetTextColor ColorRGB 103103103 GfxSelectFont Tahoma, stan pxheight C13 0 45 GfxSetTextColor colorWhite GfxSelectFont MS Bezszeryfowa , 0, 500, False, False, 0.SetChartBkGradientFill ParamColor BgTop, colorDarkOliveGreen, ParamColor BgBottom, colorDarkGrey pShowtradeLines ParamToggle Pokaż linie handlowe, nie Tak, 1 Volmin Param Minimalna objętość, 50,0,10000000,50 Volmax Param Maks. Objętość, 1000000, 0,10000000,50 priceRL Param Zakres cen Min, 50,120000,1 priceRH Param Zakres cenowy Maks., 20000,120000,1 BSPeChMi -25 Zmiana procentowa procentu Min set, -25, -100, 100, 0 1 BSPeChMa 25 Param Zmiana procentowa Zmiana maksymalna, 25, -100, 100, 0 1 BSPerTkProf Param Wprowadź procent zysku, 0 6,0 3,30 , 0 1 BSPerStLos Param StopLoss Zestaw procentowy, 0 25,0 2,5,0 1.BSPlRng Godzina 90000 I godzina 153000 I DataNast ostatnia dataNum BSFHRg godzina 090000 I godzina 093000 I dataNom LastValue DataNum. BSFHPrc Wysokie BSFHRg BSFHMrk Bary Od BSFHRg 0 NumBars 36000 Interwał 1.TimeFrameSet inDaily TOP Open PDH Ref High, -1 PDL Ref Low, -1 PDO Ref Otwórz, -1 PDC Ref Close, -1 PDM PDH PDL 2 TimeFrameRestore. isAll True isRth TimeNum 085400 I TimeNum 093000 isdRth TimeNum 085400 I TimeNum 160000.aRthL IIf isRth, L, 1000000 aRthH IIf isthR, H, Null aRthLd IIfdth, L, 1000000tOP TimeFrameExpand TOP, inDaily, expandDefinicTableDefaultExpand PDH, inDaily, expandFirst PDL TimeFrameExpand PDL, inDaily, expandFirst PDO TimeFrameExpand PDO, inDaily , expandPierwszy PDC TimeFrameExpand PDC, inDaily, expandPierwszy PDM TimeFrameExpand PDM, inDaily, expandFirstFHH Ref HHV High BSFHRg, NumBars, - BSFHMrk FHL TimeFrameCompress aRthL, inDaily, compressLow FHL TimeFrameExpand FHL, inDaily, expandFirst DayH TimeFrameCompress aRthH, inDaily, kompresujHigh DayH TimeFrameExpand DayH, inDaily, expandFirst DayL TimeFrameCompress aRthLd, inDaily, compressLow DayL TimeFrameExpand DayL, inDaily, expandFirst. A IIf FC4 FC1 PDH 0 005, FC1,0 B IIf FC4 FC2 PDH 0 005 i FC4 FC1 PDH 0 005, FC2,0 Cl IIf FC4 FC3 i FC4 FC2 PDH 0 005, FC3, 0 AF AB Cl. HaC OHLC 4 HaO AMA Ref HaC, -1, 0 HaH Max H, Max HaC, HaO HaL min L, Min HaC, HaO BG3 HHV LLV HaL, 4 ATR 4, 8 BR3 LLV HHV HaH, 4 - ATR 4, 8 co IIf Hac BG3, colorBlue, IIf Hac BR3, colorRed, colorGrey50.BuyPrice DayL AF BSByTP1 BuyPrice KupPrice BSPerTkProf 100 BSByTP2 C BSByTP1 Sprzedaj Dniowe H-AF BSSlTP1 Sprzedaj Paczkę - Sprzedaj Paczkę BSPerTkProf 100 BSSlTP2 C BSSlTP1 BSPrCh C-TOP TOP 100 Vol V Volmin i V Vmax Procent BSPrCh BSPeChMi I BSPrCh BSPeChMa prc C cenaR i C cenaRH KupStop1 KupujRóżnośćProdukt BSPerStLos 100 KupStop2 IIf KupStop1DoprzedażProduktProduktProduktProduktProduktProduktProduktProduktProduktProduktProduktProduktProduktProduktPolityzujProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyProduktyOferujemy Kup, a nie KupStop, BSByTP2, Null. Bars BarySince TimeNum 85400 i TimeNum 092900 x0 Pasek BarCount-LastValue x1 BarCount-1 ToPLine LineArray x0, LastValue Góra, x1, LastValue Góra, 0 PDHLine LineArray x0, LastValue PDH, x1, LastValue PDH, 0 PDLLine LineArray x0, LastValue PDL, x1, LastValue PDL, 0 PDCLine LineArray x0, LastValue PDC, x1, LastValue PDC, 0 PDMLine LineArray x0, LastValue PDM, x1, LastValue PDM, 0 FHHLine LineArray x0, LastValue FHH, x1, LastValue FHH, 0 FHLLine LineArray x0, LastValue FHL, x1, LastValue FHL, 0 BuyPriceline LineArray x0, LastValue KupPrice, x1, L astValue KupPrice, 0 KupStopline LineArray x0, LastValue KupStop2, x1, La stValue KupStop2, 0 KupTPline LineArray x0, LastValue BSByTP1, x1, ostatni alias BSByTP1, 0 SellPriceline LineArray x0, LastValue SellPrice, x1, LastValue SellPrice, 0 SellStopline LineArray x0, LastValue SellStop2, x1, LastValue SellStop2, 0 SellTPline LineArray x0, LastValue BSSlTP1, x1, ostatnia wartość BSSlTP1, 0 DayHline LineArray x0, LastValue DayH, x1, LastValue DayH, 0 DayLline LineArray x0, LastValue DayL, x1, LastValue DayL, 0.Plot IIf pShowtradeLines, BuyStopline, Null,, colo rBrightGreen, styleDots styleNoRescale styleNoLine Plot IIf pShowtradeLines, SellPriceline , Null,, co lorRed, styleDots styleNoRescale. if Działanie actionIndicator Tytuł EncodeColor colorWhite BuySell system - Nazwa - EncodeColor colorYellow Interval 2 EncodeColor colorYellow - Data - EncodeColor colorYellow Open EncodeColor colorWhite WriteVal O, 8 2 EncodeColor colorYellow, High EncodeColor colorWhite WriteVal H, 8 2 EncodeColor colorYellow, Low EncodeColor colorWhite WriteVal L, 8 2 EncodeColor colorYellow, Zamknij EncodeColor colorWhite WriteV al C, 8 2 EncodeColor colorYellow, Vol EncodeColor colorWhite WriteVal V, 1 n. -------------------------------------------------- -------------------------------------------------- ----------------- Tryb GfxSetOverlayMode 0 GfxSelectPen colorLightBlue, 2 GfxSelectSolidBrush colorBlack GfxRoundRect 5,65, 250, 180, 16, 20 GfxSetBkMode 1 GfxSelectFont Arial, 12, 700, False GfxSetTextColor colorBrown GfxSetTextAlign 0 GfxSetTextColor colorPaleGreen GfxTextOut WriteIf BuyPrice, Long Target 1 WriteVal BuyPrice, 1 2,, 15, 73 GfxSetTextColor colorLightBlue GfxTextOut WriteIf BSByTP1 Long Target 2 WriteVal BSByTP1,1 2,, 15, 92 GfxSetTextColor colorRed GfxTextOut WriteIf SprzedażPrice, krótki cel 1 WriteVal SellPrice , 1 2,, 15, 111 GfxSetTextColor colorOrange GfxTextOut WriteIf BSSlTP1, krótki cel 2 WriteVal BSSlTP1,1 2,, 15, 129 GfxSetTextColor colorWhite GfxTextOut WriteIf BuyStopline, Natychmiastowy Sup Res WriteVal BuyStopline, 1 2,, 15, 147.Buy Cross j , nw Short Cross nw, j Sprzedaj Cross nw, j Cover Cross j, nw Kup ExRem Kupuj, Sprzedaj Sprzedaj ExRem Sprzedaj, Kup Shor t ExRem Short, pokrywa Cover ExRem Cover, Short Long Flip Kup, Sprzedaj Shrt Flip Sell, Buy. dist 1 5 ATR 15 Buy2show 0 Sell2show 0 dla i 0 i BarCount i jeśli Kupuję i PlotText Kup WriteVal C i, 1 2, i - 5, C i - Trend i, colorWhite, colorBlue Buy2show C i. if Sprzedaj i PlotText Sprzedaj WriteVal C i, 1, i-5, C i Trend i, colorWhite, colorRed Sell2show C i AlertIf Sprzedaj, Dźwięk, Sprzedaj WriteVal H, 1 2, 2 AlertIf Kup, Dźwięk, Kupuj WriteVal O, 1 2, 1.GfxSetBkMode przezroczysty 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, status pxheight C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217 217 213 GfxTextOut Nazwa, stan pxwidth C14, status pxheight C15 GfxSelectFont Tahoma, status pxheight C13 0 4 GfxSetTextColor ColorRGB 103,103,103 GfxTextOut Od, Status pxwidth C14 1 8, Status pxheight C15 10 5 GfxSelectFont Tahoma, Status pxheight C13 0 45 GfxSetTextColor colorWhite GfxTextOut, Status pxwidth C14 1 8, Status pxheight C15 11 GfxSelectFont MS Sans Serif, 10, 500, Fałsz, Fałsz, 0. ------------ --------------- na działce buysell price GfxSetOverlayMode mode 0 GfxSelectPen colorGreen, 2 GfxSelectSolidBrush colorBlack GfxRoundRect 5, 181,250,240, 15, 15 GfxSetBkMode 1 GfxSelectFont Arial, 12, 700, False GfxSetTextColor colorPaleGreen GfxSetTextAlign 0.GfxTextOut WriteIf Kup lub kupuj długie sygnały przy WriteVal Buy2show, 1 2,, 10, 185 GfxTextOut WriteIf Sprzedaj lub skurcz SELL Signal Przy WriteVal Sell2show, 1 2,, 10, 185.GfxSetTextColor colorYellow GfxTextOut WriteIf Długie i nie kupuj, kupuj Profit WriteVal C-Buy2show, 1 2,, 10, 205 GfxTextOut WriteIf shrt I nie sprzedaj, zysk Zysk WriteVal Sell2show-C, 1 2,, 10, 205 GfxTextOut WriteIf Long OR shrt CMP WriteVal C, 1 2,, 10, 215.GfxSetOverlayMode tryb 0 GfxSelectPen colorOrange, 2 GfxSelectSolidBrush colorBlack GfxRoundRect 5,20, 250,63, 16, 20 GfxSetBkMode 1 GfxSelectFont Arial, 12, 700, False GfxSetTextColor colorPaleGreen GfxSetTextAlign 0.GfxSetTextColor colorYellow GfxTextOut WriteIf SellPrice, TREND REVERSAL SellPrice,, 8, 25.GfxSetTextColor colorRed GfxTextOut WriteIf nw, Trailing SL WriteVal nw, 1,, 8, 43 GfxTextOut WriteIf Okładka I NIE kupuj, zaokrąglając SL WriteVal nw, 1,, 8, 43 GfxSetTextColor colorGold GfxTextOut WriteIf nw, Trailing SL WriteVal nw, 1,, 8, 43 GfxTextOut WriteIf Krótkie i nie sprzedaj, zaokrąglenie SL WriteVal nw, 1,, 8, 43.PlotShapes IIf Kup, shapeUpArrow, shapeNone, colorWhite, 0, HAL, -40.PlotShapes IIf Krótki, kształtDownArrow, shapeNone, colorWhite, 0, HAH, -40.fibs ParamToggle Plot Fibs, Wył. Wł., 1 pctH 0 325 Param Pivot Cześć, 0 325,0 001,2 0,0 002 HiLB 1 Param Up LookBack, 1,1, BarCount-1, 1 pctl 0 325 Param Pivot Lo, 0 325,0 001,2 0,0 002 LoLB 1 Param Down LookBack, 1,1, BarCount-1,1 Wstecz 1 Param Przedłużenie lewego 2, 1,1,500,1 Fwd 0 Param Powtórz Do przodu, 0, 0, 500, 1 tekst Tekst zmiennej tekstu, wyłączony, 1 hts -14 Przesuń tekst parametru, -14, -50,50,0 10 stylu Styl liniowy, styleLine, stylNoLabel x BarIndex pRp Szczyty górne H, pctH , 1 0 yRp0 Wartość LastValue Gdy pRp, H, HiLB xRp0 La stValue ValuePo pRp, x, HiLB pSp TroughBars L, pctL, 1 0 ySp0 Wartość LastValue Gdy pSp, L, LoLB xSp0 Wartość LastValue Gdy pSp, x, LoLB Delta yRp0 - ySp0.funkcja retuszu retuszu LFI Retusz retencji LFIVal IIf ret 1 0 i xSp0 xRp0 , yRp0 - retval, IIf ret 1 0 i xSp0 xRp0, ySp0 retval, IIf ret 1 0 i xSp0 xRp0, yRp0 - retval, IIf ret 1 0 i xSp0 xRp0, ySp0 retval, Null return LFIVal. xo Min xSp0, xRp0 - Back x1 BarCount-1 r236 LFI 0 236 r236I LastValue r236,1 r382 LFI 0 382 r382I LastValue r382,1 r050 LFI 0 50 r050I LastValue r050,1 r618 LFI 0 618 r618I LastValue r618,1 r786 LFI 0 786 r786I LastValue r786,1 e127 LFI 1 27 e127I LastValue e127,1 e162 LFI 1 62 e162I LastValue e162,1 e200 LFI 2 00 e200I LastValue e200,1 e262 LFI 2 62 e262I LastValue e262,1 e424 LFI 4 24 e424I LastValue e424,1 p00 IIf xSp0 xRp0, ySp0 , yRp0 p00I LastValue p00,1 p100IIf xSp0 xRp0, ySp0, yRp0 p100I LastValue p100,1 color00 IIf xSp0 xRp0, colorLime, colorRed color100 IIf xSp0 xRp0, colorLime, colorRed numbars LastValue Cum Stan barvisible frakcja IIf StrRight Nazwa, 3, 3 2, 3 2. jeśli tekst 1 PlotText 0 WriteVal p00,1, LastValue BarIndex - numbars hts, p00I 0 05, color00 PlotText 23 WriteVal r236,1, LastValue BarIndex - numbars hts, r236I 0 05, color00 PlotText 38 WriteVal r382,1, LastValue BarIndex - numbars hts, r382I 0 05, color00 PlotText 50 WriteVal r050,1, LastValue BarIndex - numbars hts, r050I 0 05, color00 PlotText 62 WriteVal r618,1, LastValue BarIndex - numbars hts, r618I 0 05, color00 PlotText 78 WriteVal r786,1, LastValue BarIndex - numbars hts, r786I 0 05, color00 PlotText 100 WriteVal p100,1, LastValue BarIndex - numbars hts, p100I 0 05, color00 PlotText 127 WriteVal e127,1, LastValue BarIndex - numbars hts, e127I 0 05, color00 PlotText 162 WriteVal e162,1, LastValue BarIndex - numbars hts, e162I 0 05, color00 PlotText 200 WriteVal e200,1, LastValue BarIndex - numbars hts, e200I 0 05, color00 PlotText 262 WriteVal e262,1, LastValue BarInde x - numbars hts, e262I 0 05, color00 PlotText 424 WriteVal e424,1, LastValue BarIndex - numbars hts, e424I 0 05, color00.YH TimeFrameGetPrice H, inDaily, -1 wczorajsze YL TimeFrameGetPrice L, inDaily, -1 niski YC TimeFrameGetPrice C, inDaily, -1 Zamknij YO TimeFrameGetPrice O, w dziennym bieżącym dniu otwarte. Normalny Pivot PP YH YL YC 3 R1 2 PP - YL R2 PP YH - YL R3 YH 2 PP-YL S1 2 PP - YH S2 PP - YH - YL S3 YL - 2 YH - PP --------- -------------------------------------------------- ------------------------ SEKCJA SEKCJA BEGIN KupSel Trend Kup lub Sprzedaj Warunki Kupno Cross EMA Zamknij 3, EMA Zamknij 23 Sprzedaj Cross EMA Zamknij 23, EMA Zamknij 3 Działka EMA Działka EMA Zamknij, 23, 23 EMA, Kolor ParamColor, kolorBlack, stylNieRescale Działka EMA Zamknij, 3, 3 EMA, Kolor ParamColor, kolorBlack, styleNoRescale. Wstążka Wstążki Wstążki1 IIf EMA Zamknij 3 EMA Zamknij 23, KolorGreen, IIf EMA Zamknij 23 EMA Zamknij 3, kolorowy, kolorowy Żwir 3, Wstążka, Wstążka1, stylOdżyszCzasowy stylPoczęcie styluNoLabel, -0 5,100 SEKCJAEND. upt C MA C, 21 I C EMA C , 8 dnt C MA C, 21 i C EMA C, 8 nakrętka C MA C, 21 i C EMA C, 8 lub C MA C, 21 i C EMA C, 8 Col IIf dnt, colorRed, IIf upt, colorBlueGrey, IIf naklejki, colorYellow, colorTan Działka C, Close, col, styleNoTitle ParamStyle Style GetPriceStyle Filtr 1 AddColumn C, close, 1 2,1, Col. AFL System handlu BHS Wysoki Popyt. I natknęła się na Afl, co każdy z nas wymaga, tutaj są kody dla tej samej i niektóre informacje o afl, dobrze to afl jest wyłącznie mieszanie heikin ashi i pivot nma system swing jestem również dostarczanie kodów Heikin ashi Candel, Pivot z NMA swing afl parametor być używany atr 20 i k 2 dla tego samego dla skutecznych wyników i osobiście wierzą, że system bhs zmazałby widział twoje pieniądze, a nie afl stworzone i zaprojektowane przez jeden, nie żałuje, ale można krzyż sprawdzić to samo jego mieszanka, ale nie mam nic wspólnego z tym, jestem po prostu co ludzie wiedzą o tym i można korzystać z innych afl również, jeśli chcą używaćPARZYWAJĄ SAMOCHÓD JEDNĄ JEST JEJ LEKCJĘ I JESZCZE MNIEJSZYM JEŚLI JEST JEDNĄ JEDNĄ JEDNĄ JAK JAK JEST JAK JEST LEKCIE BHS ONE. BHS TRADING SYSTEM AFL. SECTIONBEGIN MA Diff T 26 KMA C-MA C, T MA C, T 100 Wykres0 KMA Graph0Style 2 4 Graph0BarColor IIf KMA 0, 5,4 GraphXSpace 5.SECTIONBEGIN Price SetChartOptions 0, chartShowArrows chartShowDates Działka C, Close, ParamColor Color, colorBlack, styleNoTitle Styl ParamStyle GetPriceStyle SEKCJA SEKCJA ZOSTAŁA SEKCJA ZG-ZAG P ParamField Zmiana pola cenowego Param change, 5,0 1,25,0 1 SECTIONEND. SECTIONBEGIN EMA P Pole ParamField Price, -1 Okresy Okresy parametrów, 15, 2, 300, 1, 10 SEKCJA SEKCJA SEKCJA MACIERZYSTA MACD Badanie r1 Param Parametr szybki, 12, 2, 200, 1 r2 Param Powolny średni, 26, 2, 200, 1 r3 Param Signal avg, 9, 2, 200, 1 Z Param zig, 1,0,10,0 1.Cond3 Zig C, z Ref Zig C, z, -4 Kup Cond1 i Cond3.Cond6 Zig C, Z Zeg C, z, -4 Sprzedaj Cond4 i Cond6 Trigger WriteIf Kupuj, kup, WriteIf Sprzedaj, Sell. BG IIf Kup, colorPaleGreen, IIf Sprzedaj, colorRose, colorDefault FG IIf Kup, colorDarkGreen , IIf Sell, colorDarkRed, colorDefault. if Działanie akcji actionIndicator Działka C,, colorGrey50, styleBar PlotShapes IIf Kupuj, kształtujArray, shapeNone, colorWhite, 0, L, Offset -30 PlotShapes IIf Sprzedaj, kształtujDownArrow, shapeNone, colorWhite, 0, H, Offset -30.Filter Kup lub sprzedaj SetOption NoDefaultColumns, True. AddTextColumn Name, Symbol, 77, FG, BG, 120 DataCommandComponent Data, formatDateTime, FG, BG, 100 AddColumn TimeNum, Czas, 1 AddColumn C, Close, 1 3 AddColumn H, Wysoka, 1 3 AddColumn V, Volume AddColumn Odnośnik V, -1, P-Vol AddColumn V Ref V, -1 100, Zwiększ w Vol AddColumn Kupuj, kupuj, 1 AddColumn Sprzedaj, Sprzedaj, 1.Kształt Kup shapeHollowUpTriangle Sprzedaj kształtHollowDownTriangle. PlotShapes kształt, IIf Kup, colorBlue, colorBlue, 0, IIf Kupno, Low, High. GraphXSpace 7 SEKCJAEND. SE CTIONBEGIN EMA3 P ParamField Pole ceny, -1 Okresy Okresów wartości, 15, 2, 300, 1, 10 SEKCJAEND. SECTIONBEGIN Tekst w tle C13 Czcionki param, 20,10,30,1 C14 Param lewy-prawy, 2 1,1 0, 5 0,0 1 C15 Param dół, 12,1,20,1 Miny Status ośminy Maxy Status axismaxy lvb Status lastvisiblebar fvb Status firstvisiblebar pxwidth Status pxwidth pxheight Status pxheight GfxSetBkMode transparent 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, status pxheight C13 GfxSetTextAlign 6 GfxSetTextColor KolorRGB 217 217 213 GfxTextOut Nazwa, stan pxwidth C14, status pxheight C15 GfxSelectFont Tahoma, status pxheight C13 0 5 GfxSetTextColor ColorRGB 103 103 533 GfxTextOut, Status pxwidth C14, status pxheight C15 2 5 GfxSelectFont Tahoma, status pxheight C13 0 5 GfxSetTextColor ColorRGB 103 103 533 GfxTextOut, Status pxwidth C14 , Status pxheight C15 4 GfxSelectFont MS Sans Serif , 10, 500, False, False, 0 Second phase starts Here File BHS Chart SECTIONBEGIN BHS1 02 SetChartB kColor ParamColor Outer panel color, colorLightYellow SetChartBkColor ParamColor BackGround Color , colorBlack pShowtradeLines ParamToggle Show Trade Lines , No Yes , 1 pShowMarkers ParamToggle Show Markers , No Yes , 1 synch ParamToggle Synchronize buy short with foreign index , No Yes , 1 Volmin Param Volume minimum ,5000,0,10000000,50 Volmax Param Volume maximum ,1000000,0,10000000,50 priceRL Param Price Range Min ,150,1,20000,1 priceRH Param Price Range Max ,3000,1,20000,1 PercChangemin Param Percentage Change Min set , -25, -100, 100, 0 1 PercChangemax Param Percentage Change Max set , 25, -100, 100, 0 1 PerctakeProfit Param Take Profit Percent Set ,0 5,0 3,30,0 1 PercStoploss Param StopLoss Percent Set ,1,0 2,5,0 1.PlotOHLC Open, High, Low, Close,,colorWhite, styleCa ndle Bars 0 xpdh 90.PlotRange TimeNum 85500 AND TimeNum 153500 AND DateNum LastValue DateNum FHRange TimeNum 085500 AND TimeNum 093000 AND DateNum LastValue DateNum. FHPrices High FHRange FHMarker BarsSince FHRange 0.NumBars 36000 Interval 1.TimeFrameSet inDaily TOP Open PDH Ref High,-1 PDL Ref Low,-1 PDO Ref Open,-1 PDC Ref Close,-1 PDM PDH PDL 2 TimeFrameRestore. isAll True isRth TimeNum 085400 AND TimeNum 093000 isdRth TimeNum 085400 AND TimeNum 160000.aRthL IIf isRth, L, 1000000 aRthH IIf isdRth, H, Null aRthLd IIf isdRth, L, 1000000.TOP TimeFrameExpand TOP, inDaily, expandFirst PDH TimeFrameExpand PDH, inDaily, expandFirst PDL TimeFrameExpand PDL, inDaily, expandFirst PDO TimeFrameExpand PDO, inDaily, expandFirst PDC TimeFrameExpand PDC, inDaily, expandFirst PDM TimeFrameExpand PDM, inDaily, expandFirst FHH Ref HHV High FHRange, NumBars ,-FHMarker FHL TimeFrameCompress aRthL, inDaily, compressLow FHL TimeFrameExpand FHL, inDaily, expandFirst DayH TimeFrameCompress aRthH, inDaily, compressHigh DayH TimeFrameExpand DayH, inDaily, expandFirst DayL TimeFrameCompress aRthLd, inDaily, compressLow DayL TimeFrameExpand DayL, inDaily, expandFirst. A IIf FC4 FC1 PDH 0 005,FC1,0 B IIf FC 4 FC2 PDH 0 005 AND FC4 FC1 PDH 0 005,FC2,0 Cl IIf FC4 FC3 AND FC4 FC2 PDH 0 005,FC3,0 AF A B Cl. foreign SECTIONBEGIN foreign Index bar graph Vr ParamList Index, List IN N S ,0 SetForeign Vr HaC O H L C 4 HaO AMA Ref HaC, -1 , 0 5 HaH Max H, Max HaC, HaO HaL Min L, Min HaC, HaO BG3 HHV LLV HaL,4 ATR 4 ,8 BR3 LLV HHV HaH ,4 - ATR 4 ,8 co IIf Hac BG3,colorBrightGreen, IIf Hac BR3,colorRed, colorGrey50 Plot 4, , Co, styleArea styleOwnScale styleNoLabel, -1, 100 RestorePriceArrays SECTIONEND. BuyPrice DayL AF BuyTP1 BuyPrice BuyPrice PerctakeProfit 100 BuyTP2 C BuyTP1 SellPrice DayH-AF SellTP1 SellPrice - SellPrice PerctakeProfit 100 SellTP2 C SellTP1 percchange C-TOP TOP 100 Vol V Volmin AND V Volmax Percentage percchange PercChangemin AND percchange PercChangemax prc C priceRL AND C priceRH BuyStop1 BuyPrice - BuyPrice PercStoploss 100 BuyStop2 IIf BuyStop1 SellPrice AND SellPrice BuyPrice, SellPrice, BuyStop1 SellStop1 SellPrice SellPrice PercStoploss 100 SellStop2 IIf SellStop1 BuyPrice AND SellPrice BuyPrice, BuyPrice, SellStop1.BuyStop IIf Buy AND NOT BuyTP2,BuyS top2,Null BuyTP IIf Buy AND NOT BuyStop, BuyTP2,Null. Bars BarsSince TimeNum 85400 AND TimeNum 092900 x0 BarCount-LastValue Bars x1 BarCount-1 TOPLine LineArray x0,LastValue TOP, x1,LastValue TOP ,0 PDHLine LineArray x0,LastValue PDH, x1,LastValue PDH ,0 PDLLine LineArray x0,LastValue PDL, x1,LastValue PDL ,0 PDCLine LineArray x0,LastValue PDC, x1,LastValue PDC ,0 PDMLine LineArray x0,LastValue PDM, x1,LastValue PDM ,0 FHHLine LineArray x0,LastValue FHH, x1,LastValue FHH ,0 FHLLine LineArray x0,LastValue FHL, x1,LastValue FHL ,0 BuyPriceline LineArray x0,LastValue BuyPrice, x1,L astValue BuyPrice ,0 BuyStopline LineArray x0,LastValue BuyStop2,x1,La stValue BuyStop2 ,0 BuyTPline LineArray x0,LastValue BuyTP1,x1,LastVa lue BuyTP1 ,0 SellPriceline LineArray x0,LastValue SellPrice, x1,LastValue SellPrice ,0 SellStopline LineArray x0,LastValue SellStop2,x1, LastValue SellStop2 ,0 SellTPline LineArray x0,LastValue SellTP1,x1,Last Value SellTP1 ,0 DayHline LineArray x0,Last Value DayH, x1,LastValue DayH ,0 DayLline LineArray x0,LastValue DayL, x1,LastValue DayL ,0.Plot IIf pShowtradeLines, BuyStopline, Null , BuySto p, colorBrightGreen, styleDots styleNoRescale styleNoLine Plot IIf pShowtradeLines, SellPriceline, Null , Shor t Here, colorRed, styleDots styleNoRescale PlotShapes IIf pShowMarkers AND Buy, shapeHollowUpArrow, Null , colorDarkGreen, 0,L, Offset -30.if Status action actionIndicator Title EncodeColor colorWhite BHS2 System - Name - EncodeColor colorYellow Interval 2 EncodeColor colorYellow - Date - EncodeColor colorYellow - Open WriteVal O,1 EncodeColor colorYellow - High WriteVal H,1 EncodeColor colorYellow - Close WriteVal C,1 EncodeColor colorYellow - Vol WriteVal V,1 WriteIf Percchange, Change Percchange , n Previous DayHigh WriteVal PDH,1 , Previous DayLow WriteVal PDL,1 , Today High WriteVal DayH,1 , Todays Low WriteVal DayL,1 Comm2 n Vr Phase WriteIf Hac BG3,EncodeColor colorBrightGreen Up , WriteIf Hac BR3,EncodeColor colorRed - Down, EncodeC olor colorLightYellow Flat. GfxSetOverlayMode mode 0 GfxSelectPen colorLightBlue, 3 GfxSelectSolidBrush colorLightYellow GfxRoundRect 20, 55, 180, 175, 15, 15 GfxSetBkMode 1 GfxSelectFont Arial , 10, 700, False GfxSetTextColor colorBrown GfxSetTextAlign 0 GfxTextOut WriteIf Buystop2, TRP level Buystop2 , , 30, 60 GfxTextOut WriteIf BuyPrice, Buy Above BuyPrice , , 30, 75 GfxTextOut WriteIf BuyStop2, Long SL BuyStop2 , , 30, 90 GfxTextOut WriteIf BuyTP1 Long Target 1 BuyTP1 , , 30, 105 GfxTextOut WriteIf SellPrice, Sell Below SellPrice , , 30, 120 GfxTextOut WriteIf SellStop2, Short SL SellStop2 , , 30, 135 GfxTextOut WriteIf SellTP1, Short Target SellTP1 , , 30, 150.AddColumn V, Volume ,1 0 AddColumn Percchange, Change ,1 2 AddColumn BuyPrice, Buy at ,1 2 AddColumn BuyStop, Buy Stop at ,1 2 AddColumn BuyTP1, Buy Profit at ,1 2 AddColumn SellPrice, Short at ,1 2 AddColumn SellTP1, Short profit at ,1 2.SECTIONBEGIN short signal HaClose O H L C 4 HaOpen AMA Ref HaClose , -1 , 0 5 HaHigh Max H, Max HaClose, HaOpen HaLow Min L, Min HaClose, HaOpen BG2 HHV LLV Low,4 ATR 4 ,8 BR2 LLV HHV High,4 - ATR 4 ,8 SetBarFillColor IIf O C, colorSeaGreen, colorOrange k Optimize K, Param K ,1 75,1,5,0 25 ,1,5,0 25 Per Optimize atr, Param atr ,10,3,30,1 ,3,30,1 j HaClose nm H-L rfsctor WMA nm, PER revers K rfsctor Trend 1 NW 0 0 for i 1 i BarCount i if Trend i-1 1 if j i NW i-1 Trend i -1 NW i j i Revers i else Trend i 1 if j i - Revers i NW i-1 NW i j i - Revers i else NW i NW i-1 if Trend i-1 -1 if j i NW i-1 Trend i 1 NW i j i - Revers i else Trend i -1 if j i Revers i NW i-1 NW i j i Revers i else NW i NW i-1.Plot NW, , IIf Trend 1, 6, 4 , 4.Buy Cross j, nw Short Cross nw, j Sell Cross nw, j Cover Cross j, nw Buy ExRem Buy, Sell Sell ExRem Sell, Buy Short ExRem Short, Cover Cover ExRem Cover, Short PlotShapes IIf Buy, shapeUpArrow, shapeNone, colorWhite, 0,halow,-30 PlotShapes IIf Sell, shapeHollowDownTriangle, shapeNone, colorWhite, 0,hahigh,-15 P lotShapes IIf Cover, shapeHollowUpTriangle, shapeNone, colorWhite, 0,halow,-15 PlotShapes IIf Short, shapeDownArrow, shapeNone, colorWhite, 0,hahigh,-30 -----------end. ADDED PIVOTS LINES LATER. ---- pivot points DayH TimeFrameGetPrice H , inDaily, -1 yesterdays high DayL TimeFrameGetPrice L , inDaily, -1 low DayC TimeFrameGetPrice C , inDaily, -1 close DayO TimeFrameGetPrice O , inDaily current day open HiDay TimeFrameGetPrice H , inDaily LoDay TimeFrameGetPrice L , inDaily PP DayH DayL DayO DayO 4 R1 2 PP - DayL S1 2 PP - DayH R2 PP R1 - S1 S2 PP S1 - R1 R3 R2 R1 - PP S3 S2 - PP - S1 style styleLine styleThick styleNoRescale rcolor colorBlue scolor colorRed pcolor colorWhite Plot R1, R1,rcolor, style Plot S1, S1,scolor, style Plot R2, R2,rcolor, style Plot S2, S2,scolor, style Plot PP, PP, pcolor, style Plot s3, S3 , scolor, style Plot R3, R3 , rcolor, style RangeTitle EncodeColor colorWhite Day Range EncodeColor colorWhite. Background color SetChartBkColor ParamColor Panel color, colorPaleBlue. TicDiv Param Tic or PIP value ,1,0,1000000 Titledisplay ParamToggle Display pivot stats , No Yes ,1. barcolor IIf C Open, colorWhite, IIf C Open, colorWhite, colorWhite Plot C, Close , barcolor, styleCandle styleNoLabel. EMA34 EMA C,34 LSMA LinearReg C,25 PI atan 1 00 4 periods 30 HighHigh HHV H, periods LowLow LLV L, periods range 25 HighHigh - LowLow LowLow x1EMA34 0 x2EMA34 2 y1EMA34 0 y2EMA34 Ref EMA34, -2 - EMA34 Avg range cEMA34 sqrt x2EMA34 - x1EMA34 x2EMA34 - x1EMA34 y2EMA34 - y1EMA34 y2EMA34 - y1EMA34 angleEMA34 round 180 acos x2EMA34 - x1EMA34 cEMA34 PI TitleAngleEMA34 EncodeColor colorWhite nEMA34 angle angleEMA34 IIf y2EMA34 0, - angleEMA34, angleEMA34 ColorANGLEEMA IIf angleEMA34 5,colorTurquoise, IIf angleEMA34 5 AND angleEMA34 3 57,colorDarkGreen, IIf angleEMA34 3 57 AND angleEMA34 2 14,colorPaleGreen, IIf angleEMA34 2 14 AND angleEMA34 71,colorLime, IIf angleEMA34 -1 5,colorDarkRed, IIf angleEMA34 -1 5 AND angleEMA34 -1 3 57,colorRed, IIf angleEMA34 -1 3 57 AND angleEMA34 -1 2 14,colorOrange, IIf angleEMA34 -1 2 14 AND angleEMA34 -1 71,colorLightOrange, colorYell ow Plot EMA34, EMA 34,ColorANGLEEMA, styleLine styleThick styleNoLabel Plot lsma, LSMA 25,IIf C lsma, colorBrightGreen, IIf C lsma, colorTeal, colorRed , styleLine styleThick styleNoLabel. Hld IIf C Ref MA H, 7 , -1 , 1, IIf C Ref MA L, 7 , -1 , -1, 0 Hlv ValueWhen Hld 0, Hld, 1 Hilo IIf Hlv -1, MA H, 7 , MA L, 7 Trigger IIf C Hilo, colorBlue, colorPink Plot Hilo, HiLo, Trigger, styleStaircase. Title EncodeColor colorWhite Name - EncodeColor colorRed Interval 2 EncodeColor colorTan - Date - Op - O Hi - H Lo - L Cl - C n Vol WriteVal V , Today High WriteVal DayH,2 , Todays Low WriteVal DayL,2.HEIKIN ASHI WITH NMA PIVOT. R2 Heinkin Ashi Price Action R1 Decorative Works SECTIONBEGIN Chart Settings SetChartOptions 0,chartShowArrows chartShowDates SetChartBkColor ParamColor Outer Panel, colorPaleBlue SetChartBkGradientFill ParamColor Upper Chart ,1,ParamColor Lower Chart ,23 GraphXSpace Param GraphXSpace ,10,0,100,1 dec Param Decimals ,2,0,7,1 10 1 bi BarIndex Lbi LastValue BarIndex sbi SelectedValue bi x1 BarCount-1 Title EncodeColor 55 Title Name EncodeColor 32 Date EncodeColor 5 EncodeColor 55 Open EncodeColor 52 WriteVal O, dec EncodeColor 55 High EncodeColor 5 WriteVal H, dec EncodeColor 55 Low EncodeColor 32 WriteVal L, dec EncodeColor 55 Close EncodeColor 52 WriteVal C, dec EncodeColor 55 Volume EncodeColor 52 WriteVal V,1 SECTIONEND. function Lastthursday Daysinmonth IIf Month 1 OR Month 3 OR Month 5 OR Month 7 OR Month 8 OR Month 10 OR Month 12,31,30 Daysinmonthfeb IIf Year 4 0 AND Year 100 0,29,28 Daysinmonthfinal IIf Month 2,Daysinmonthfeb, Daysinmonth returnvalue IIf Daysinmonthfinal-Da y 7 AND DayOfWeek 4,1,IIf Daysinmonthfinal-Day 8 AND DayOfWeek 3 AND Ref DayOfWeek ,1 4,1,0 return returnvalue. FirstVisibleBar Status FirstVisibleBar Lastvisiblebar Status LastVisibleBar. Den Param Density , 1, 0 1, 10, 0 1 percent Param Value Area , 70, 1, 100, 1 Type ParamList Type , Price Profile Volume Profile Period ParamList Base , Hourly Daily Weekly Monthly Lastthursday Yearly ,1 xscale Param Horizontalscale , 2, 0, 10, 0 1 EnMP2 ParamStyle Style, styleLine styleNoLabel, maskAll styleLines styleDots ViewYvalues ParamToggle Show Yesterdays Values , No Yes ,1 ViewVlines ParamToggle Show Vertical Base Lines , No Yes ,1 Viewvalues ParamToggle Show Values , No Yes ,0 ViewVpoc ParamToggle Show Virgin POC , No Yes ,1 ViewTPO ParamToggle Show TPO Count , No Yes ,0.if Period Hourly BarsInDay BarsSince Hour Ref Hour , -1 Bot TimeFrameGetPrice L , inHourly, 0 Top TimeFrameGetPrice H , inHourly, 0 Vol TimeFrameGetPrice V , inHourly, 0 if Period Daily BarsInDay BarsSince Day Ref Day , -1 Bot TimeFrameGetPrice L , inDaily, 0 Top TimeFrameGetPrice H , inDaily, 0 Vol TimeFrameGetPrice V , inDaily, 0 if Period Weekly OR Interval 24 3600 BarsInDay BarsSince DayOfWeek R ef DayOfWeek , -1 Bot ValueWhen Ref BarsInDay,1 1 OR BarIndex BarCount-2,LLV L, BarsInDay ,0 Top ValueWhen Ref BarsInDay,1 1 OR BarIndex BarCount-2,HHV H, BarsInDay ,0 Vol TimeFrameGetPrice V , inWeekly, 0 if Period Monthly BarsInDay BarsSince Month Ref Month , -1 Bot TimeFrameGetPrice L , inMonthly, 0 Top TimeFrameGetPrice H , inMonthly, 0 Vol TimeFrameGetPrice V , inMonthly, 0.if Period Lastthursday BarsInDay BarsSince Lastthursday 1 AND Ref Lastthursday , -1 0 Bot ValueWhen Ref BarsInDay,1 1 OR BarIndex BarCount-2,LLV L, BarsInDay ,0 Top ValueWhen Ref BarsInDay,1 1 OR BarIndex BarCount-2,HHV H, BarsInDay ,0 Vol TimeFrameGetPrice V , inMonthly, 0.if Period Yearly BarsInDay BarsSince Year Ref Year , -1 Bot TimeFrameGetPrice L , inYearly, 0 Top TimeFrameGetPrice H , inYearly, 0 Vol TimeFrameGetPrice V , inYearly, 0.HaClose O H L C 4 HaOpen AMA Ref HaClose, -1 , 0 5 HaHigh Max H, Max HaClose, HaOpen HaLow Min L, Min HaClose, HaOpen xDiff HaHigh - Halow 10000 barcolor IIf HaClose HaOpe n, colorGreen, colorRed PlotOHLC HaOpen, HaHigh, HaLow, HaClose, , barcolor, styleCandle. if ViewVlines 1 Plot BarsInDay 0, , ParamColor Base Line Color, colorDarkGrey , styleHistogram styleOwnScale styleLine styleNoLabel. for i FirstVisibleBar i Lastvisiblebar AND i BarCount-1 i if BarsInDay i 0.for j 1 j relTodayRange 1 j if poc x j poc x j pocj j else if poc x j if abs midrange-j abs midrange-pocj poc x j pocj j. for n 1 n relTodayRange n total n x n total n-1.if ViewVpoc 1 Virginpoc basey pocj den newi 0 for j i 1 j BarCount - 1 j if L j Virginpoc AND H j Virginpoc else vishycolor IIf BarCount 2 0,colorRed, colorBlue Plot LineArray basex i, basey pocj den, newi, basey pocj den ,,vishycolor, styleLine styleNoRescale Plot LineArray basex i, basey pocj den, newi, basey pocj den ,,colorYellow, styleLine styleNoRescale. Vah LineArray baseX i , baseY pocj shiftup den, i, baseY pocj shiftup den Val LineArray baseX i , baseY pocj-shiftdn den, i, baseY pocj-shiftdn den pocline LineArray base x, basey pocj den, basex i poc, basey pocj den. Plot Vah,,ParamColor ColorVAHLine , colorBlueGrey, styleLine styleNoRescale Plot Val,,ParamColor ColorVALLine , colorBlueGrey, styleLine styleNoRescale. Vahn LineArray i, baseY pocj shiftup den, i t, baseY pocj shiftup den pocn LineArray i, baseY pocj den, i t, baseY pocj den Valn LineArray i, baseY pocj-shiftdn den, i t, baseY pocj-shiftdn den. for p 0 p relTodayRange 1 p p multiplier if P 0 line LineArray baseX, baseY p Den, baseX x p , baseY p Den. Plot line,,IIf p pocj shiftup, ParamColor ColorAboveVA , colorDarkRed, IIf p pocj shiftup AND p pocj-shiftdn, ParamColor ColorVA , colorDarkBlue, ParamColor ColorBelowVA , colorDarkRed EnMP2.basex 0 x 0 Basex i baseY Bot i relTodayRange Range i Den Voloumeunit Vol i LastValue BarsInDay. for j 1 j relTodayRange 1 j if poc x j poc x j pocj j else if poc x j if abs midrange-j abs midrange-pocj poc x j pocj j. for n 1 n relTodayRange n total n x n total n-1.Vah LineArray baseX i , baseY pocj shiftup den, i, baseY pocj shiftup den Val Li neArray baseX i , baseY pocj-shiftdn den, i, baseY pocj-shiftdn den pocline LineArray basex, basey pocj den, basex i poc, basey pocj den. for p 0 p relTodayRange 1 p p multiplier line LineArray baseX, baseY p Den, baseX x p , baseY p Den. Plot line,,IIf p pocj shiftup, ParamColor ColorAboveVA , colorGrey40,IIf p pocj shiftup AND p pocj-shiftdn, ParamColor ColorVA , colorBlueGrey, ParamColor ColorBelowVA, colorGrey40,EnMP2.SECTIONBEGIN Volume Plot Volume, DEFAULTNAME , ParamColor Color , colorDarkGreen , styleNoTitle ParamStyle Style , styleHistogram styleOwnScale styleThick styleNoLabel, maskHistogram , 2 SECTIONEND SetChartOptions 0,chartShowArrows chartShowDates SECTIONBEGIN Heikin Ashi. SECTIONBEGIN NICK MA Swing SetBarsRequired 200,0.GraphXSpace 5 SetChartOptions 0,chartShowArrows chartShowDates k Optimize K, Param K ,1,0 25,5,0 25 ,0 25,5,0 25 Per Optimize atr, Param atr ,4,3,20,1 ,3,20,1 HACLOSE O H L C 4 HaOpen AMA Ref HaClose, -1 , 0 5 HaHigh Max H, Max HaClose, HaOpen HaLow Min L, Min HaClose, HaOpen PlotOHLC HaOpen, HaHigh, HaLow, HaClose, Name , colorBlack, styleCandle styleNoLabel j Haclose. rfsctor WMA H-L, Per. revers k rfsctor. Trend 1 NW 0 0.Buy Cover Cross j, nw Sell Short Cross nw, j SellPrice ValueWhen Sell, C,1 BuyPrice ValueWhen Buy, C,1 Long Flip Buy, Sell Shrt Flip Sell, Buy SECTIONEND TITLE SECTIONBEGIN Title if Status action actionIndicator Title EncodeColor colorWhite System - Name - EncodeColor colorRed Interval 2 EncodeColor colorWhite - Date - n EncodeColor colorBlack Op - O Hi - H Lo - L Cl - C Vol WriteVal V n EncodeColor colorRed WriteIf Buy GO LONG Reverse Signal at C , WriteIf Sell EXIT LONG Reverse Signal at C , n EncodeColor colorWhite WriteIf Sell Total Profit Loss for the Last Trade Rs C-BuyPrice , WriteIf Buy Total Profit Loss for the Last trade Rs SellPrice-C , WriteIf Long AND NOT Buy, Trade Long - Entry price Rs BuyPrice , WriteIf shrt AND NOT Sell, Trade Short - Entry price Rs SellPrice , n WriteIf Long AND NOT Buy, Cu rrent Profit Loss Rs C-BuyPrice , WriteIf shrt AND NOT Sell, Current Profit Loss Rs SellPrice-C , PlotShapes IIf Buy, shapeSquare, shapeNone, colorGreen, 0, L, Offset -40 PlotShapes IIf Buy, shapeSquare, shapeNone, colorLime, 0,L, Offset -50 PlotShapes IIf Buy, shapeUpArrow, shapeNone, colorWhite, 0,L, Offset -45 PlotShapes IIf Sell, shapeSquare, shapeNone, colorRed, 0, H, Offset 40 PlotShapes IIf Sell, shapeSquare, shapeNone, colorOrange, 0,H, Offset 50 PlotShapes IIf Sell, shapeDownArrow, shapeNone, colorWhite, 0,H, Offset -45 AlertIf Buy, SOUND Audio alert , 2 AlertIf Sell, SOUND Audio alert , 2 SECTIONEND. SECTIONBEGIN MA P ParamField Price field ,-1 Periods Param Periods , 8, 2, 200, 1 Plot EMA P, Periods , DEFAULTNAME , ParamColor Color , colorCycle , ParamStyle Style styleNoRescale SECTIONEND. SECTIONBEGIN Mid MA P ParamField Price field ,-1 Periods Param Periods , 34, 2, 300, 1 Plot EMA P, Periods , DEFAULTNAME , ParamColor Color , colorCycle , ParamStyle Style st yleNoRescale SECTIONEND. SECTIONBEGIN Long MA P ParamField Price field ,-1 Periods Param Periods , 200, 2, 400, 1 Plot EMA P, Periods , DEFAULTNAME , ParamColor Color , colorCycle , ParamStyle Style styleNoRescale SECTIONEND. From Akshat Jain at 11 57 AM - Oct 02, 2017.IN THE BHS TRADING SYSTEM THERE ARE SOME SPACES WHICH HAVE BEEN CREATED ON PASTING THE FORMULA HERE. OPEN THE EDITOR AND FIND THESE LINES AND REMOVE THE SPACES. PlotOHLC Open, High, Low, Close,,colorWhite, styleCa ndle REMOVE THE SPACE. BuyPriceline LineArray x0,LastValue BuyPrice, x1,L astValue BuyPrice ,0 REMOVE THE SPACE FROM LAST. BuyStopline LineArray x0,LastValue BuyStop2,x1,La stValue BuyStop2 ,0 REMOVE THE SPACE FROM LAST. BuyTPline LineArray x0,LastValue BuyTP1,x1,LastVa lue BuyTP1 ,0 REMOVE THE SPACE FROM VALUE. SellTPline LineArray x0,LastValue SellTP1,x1,Last Value SellTP1 ,0 REMOVE THE SPACE BW LAST VALUE. THESE ARE FEW LINES WHICH HAVE ERRORS AND THE ERRORS ARE DUE TO SPACE WHICH IS CREATED KINDLY REMOVE T HE SPACES AND THE AFL WOULD WORK PERFECTLY.

No comments:

Post a Comment