(Indicatorコード無料公開) ニャン吉ボリンジャーアラーム

エントリータイミングを示すインジケーターではありません。
単にMT4で指定したボリンジャーσに達したときにアラームが鳴って矢印を表示するだけのものです。初期設定ではボリンジャー2.0ですが任意で変更可能。

//+------------------------------------------------------------------+
//|                                          ニャン吉アラーム・ボリンジャー.mq4 |
//|                                        Copyright 2023, ニャン吉ちゃんねる |
//|                                            https://ニャン吉ちゃんねる.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2023, ニャン吉ちゃんねる"
#property link      "https://ニャン吉ちゃんねる.com"
#property version   "1.00"
#property strict
#property indicator_chart_window
#property indicator_buffers 2    
#property indicator_color1 Orange  
#property indicator_color2 Aqua 
#property indicator_width1 3    
#property indicator_width2 3    
input double BBsigma =2.0;//ボリンジャーσ
double ArrowUp[];   
double ArrowDown[]; 
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit(){ 
 SetIndexBuffer(0,ArrowDown);  
 SetIndexStyle(0,DRAW_ARROW);  
 SetIndexArrow(0,242);         
 SetIndexEmptyValue(0,0.0);
 SetIndexLabel(0,"arrow_Down");
 SetIndexBuffer(1,ArrowUp);    
 SetIndexStyle(1,DRAW_ARROW);  
 SetIndexArrow(1,241);         
 SetIndexEmptyValue(1,0.0);
 SetIndexLabel(1,"arrow_Up");  
 //---
 return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,const int prev_calculated,
                const datetime &time[],const double &open[],
                const double &high[],const double &low[],
                const double &close[],const long &tick_volume[],
                const long &volume[],const int &spread[])
{
 int limit = rates_total - prev_calculated;
 int n = 2; 
 if (limit > 1) {limit = rates_total - n - 1;}
 for(int i=limit; i>=0; i--){  
  if(i+1 >= Bars-1){continue;}

  double BBUpper = iBands(NULL,0,20,BBsigma,0,PRICE_CLOSE,MODE_UPPER,i);
  double BBLower = iBands(NULL,0,20,BBsigma,0,PRICE_CLOSE,MODE_LOWER,i);   

  if(BBUpper<=High[i]){   
   Alert("");
   ArrowUp[i] =0;        
   ArrowDown[i]=High[i]; 
  }
  else if(BBLower>=Low[i]){  
   Alert("");
   ArrowUp[i]=Low[i];    
   ArrowDown[i]=0;       
  }
  else{
   ArrowDown[i]=0;       
   ArrowUp[i] =0;        
  }
 }
 return(rates_total);
}

個人的な比較リスト

基本的な注意事項は決算リストその1と同じ。x表記は過去10年間のおおまかなパフォーマンス。%表記は直近の配当。()内はリーマンショック直前高値→以降の最安値のおおまかな株価(記載なしはデータ無)。

AVGO broadcom x17 2.9%
Breakdown TTM 10/30/2022 10/30/2021 10/30/2020 10/30/2019
Total Revenue 34,412,000 33,203,000 27,450,000 23,888,000 22,597,000
Net Income 12,797,000 11,495,000 6,736,000 2,960,000 2,724,000

UNH  Healthcare Plans united health group x9→x8 1.34% (30→14.5)
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 322,132,000 322,132,000 285,273,000 255,639,000 240,269,000
Net Income 20,120,000 20,120,000 17,285,000 15,403,000 13,839,000

ORLY  Specialty Retail o’reilly automotive x8 0% (30→20)  AZOも強くて同規模
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 14,409,860 14,409,860 13,327,563 11,604,493 10,149,985
Net Income 2,172,650 2,172,650 2,164,685 1,752,302 1,391,042

ROL  Personal Services rollins, pest control x6→x5 1.39% (4.4→2.4)
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 2,695,823 2,695,823 2,424,300 2,161,220 2,015,477
Net Income 368,599 368,599 350,687 260,824 203,347

COST x6→x5 0.72% (71→38)
Breakdown TTM 8/30/2022 8/30/2021 8/30/2020 8/30/2019
Total Revenue 234,390,000 226,954,000 195,929,000 166,761,000 152,703,000
Net Income 6,051,000 5,844,000 5,007,000 4,002,000 3,659,000

HD home depot x6→x4 2.83% (31→17.5)
Breakdown TTM 1/30/2023 1/30/2022 1/30/2021 1/30/2020
Total Revenue 157,403,000 157,403,000 151,157,000 132,110,000 110,225,000
Net Income 17,105,000 17,105,000 16,433,000 12,866,000 11,242,000

TSLA x100→x50 0%
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 81,462,000 81,462,000 53,823,000 31,536,000 24,578,000
Net Income 12,583,000 12,583,000 5,519,000 690,000 -862,000

MSFT x10→x8 0.95% (28→15)
Breakdown TTM 6/29/2022 6/29/2021 6/29/2020 6/29/2019
Total Revenue 204,094,000 198,270,000 168,088,000 143,015,000 125,843,000
Net Income 67,449,000 72,738,000 61,271,000 44,281,000 39,240,000

AMZN x12.5→x6.5 0% (4.3→1.7)
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 513,983,000 513,983,000 469,822,000 386,064,000 280,522,000
Net Income -2,722,000 -2,722,000 33,364,000 21,331,000 11,588,000

WM  Waste Management x4.5 1.71% (36→22)
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 19,698,000 19,698,000 17,931,000 15,218,000 15,455,000
Net Income 2,238,000 2,238,000 1,816,000 1,496,000 1,670,000

SPGI  Financial Data & Stock Exchanges Standard & Poor’s Global Inc x8.8→x6 1.04% (47→17)
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 11,181,000 11,181,000 8,297,000 7,442,000 6,699,000
Net Income 3,248,000 3,248,000 3,024,000 2,339,000 2,123,000

APH  Electronic Components amphenol x4 1.05% (11.5→4.5)
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 12,623,000 12,623,000 10,876,300 8,598,900 8,225,400
Net Income 1,902,300 1,902,300 1,590,800 1,203,400 1,155,000

ADP  Staffing & Employment Services automatic data processing ADP雇用統計 x4.5→x3.5 2.34% (40.4→27)
Breakdown TTM 6/29/2022 6/29/2021 6/29/2020 6/29/2019
Total Revenue 16,674,200 16,046,500 14,583,000 14,044,600 13,613,300
Net Income 3,146,200 2,948,900 2,598,500 2,466,500 2,292,800

HSY  Confectioners hershey x3以下 1.61% (44→30)
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 10,419,294 10,419,294 8,971,337 8,149,719 7,986,252
Net Income 1,644,817 1,644,817 1,477,512 1,278,708 1,149,692

NVDA x100→x80 0.06% (3→1.44)
Breakdown TTM 1/30/2023 1/30/2022 1/30/2021 1/30/2020
Total Revenue 26,974,000 26,974,000 26,914,000 16,675,000 10,918,000
Net Income 4,368,000 4,368,000 9,752,000 4,332,000 2,796,000

AAPL x9→x8 0.56% (6.3→2.8)
Breakdown TTM 9/29/2022 9/29/2021 9/29/2020 9/29/2019
Total Revenue 387,537,000 394,328,000 365,817,000 274,515,000 260,174,000
Net Income 95,171,000 99,803,000 94,680,000 57,411,000 55,256,000

GOOGL x7.5→x5 0% (11.5→6)
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 282,836,000 282,836,000 257,637,000 182,527,000 161,857,000
Net Income 59,972,000 59,972,000 76,033,000 40,269,000 34,343,000

LIN  Specialty Chemicals linde 上場5年目業界1位 5年x2 1.43%
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 33,364,000 33,364,000 30,793,000 27,243,000 28,228,000
Net Income 4,147,000 4,147,000 3,826,000 2,501,000 2,285,000

 

決算リスト その3

RealEstate系は除外。

RTX  Aerospace & Defense raytheon technologies
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 67,074,000 67,074,000 64,388,000 56,587,000 77,046,000
Net Income 5,197,000 5,197,000 3,864,000 -3,519,000 5,537,000

LMT  Aerospace & Defense 
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 65,984,000 65,984,000 67,044,000 65,398,000 59,812,000
Net Income 5,732,000 5,732,000 6,315,000 6,833,000 6,230,000

GE  Specialty Industrial Machinery 
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 76,556,000 76,556,000 74,196,000 79,619,000 95,215,000
Net Income 225,000 225,000 -6,520,000 5,704,000 -4,979,000

DE  Farm & Heavy Construction Machinery deere
Breakdown TTM 10/30/2022 10/30/2021 10/30/2020 10/30/2019
Total Revenue 54,937,000 51,854,000 43,582,000 35,259,000 38,941,000
Net Income 8,187,000 7,131,000 5,963,000 2,751,000 3,253,000

CAT  Farm & Heavy Construction Machinery
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 59,427,000 59,427,000 50,971,000 41,748,000 53,800,000
Net Income 6,705,000 6,705,000 6,489,000 2,998,000 6,093,000

UPS  Integrated Freight & Logistics
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 100,338,000 100,338,000 97,287,000 84,628,000 74,094,000
Net Income 11,548,000 11,548,000 12,890,000 1,343,000 4,440,000

UNP  Railroads union pacific corporation
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 24,875,000 24,875,000 21,804,000 19,533,000 21,708,000
Net Income 6,998,000 6,998,000 6,523,000 5,349,000 5,919,000

HON  Conglomerates honeywell international
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 35,466,000 35,466,000 34,392,000 32,637,000 36,709,000
Net Income 4,966,000 4,966,000 5,542,000 4,779,000 6,143,000

TT  Building Products & Equipment trane technologies
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 15,991,700 15,991,700 14,136,400 12,454,700 16,598,900
Net Income 1,756,500 1,756,500 1,423,400 854,900 1,410,900

JCI  Building Products & Equipment johnson controls internatonal
Breakdown TTM 9/29/2022 9/29/2021 9/29/2020 9/29/2019
Total Revenue 25,505,000 25,299,000 23,668,000 22,317,000 23,968,000
Net Income 1,269,000 1,532,000 1,637,000 631,000 5,674,000

GWW  Industrial Distribution w.w.grainger
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 15,228,000 15,228,000 13,022,000 11,797,000 11,486,000
Net Income 1,547,000 1,547,000 1,043,000 695,000 849,000

CTAS  Specialty Business Services cintas
Breakdown TTM 5/30/2022 5/30/2021 5/30/2020 5/30/2019
Total Revenue 8,376,540 7,854,459 7,116,340 7,085,120 6,892,303
Net Income 1,285,891 1,235,757 1,110,968 876,037 884,981

DAL  Airlines delta air lines
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 50,582,000 50,582,000 29,899,000 17,095,000 47,007,000
Net Income 1,318,000 1,318,000 280,000 -12,385,000 4,767,000

LUV  Airlines southeast airlines
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 23,814,000 23,814,000 15,790,000 9,048,000 22,428,000
Net Income 539,000 539,000 977,000 -3,074,000 2,300,000

UAL  Airlines united airlines
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 44,955,000 44,955,000 24,634,000 15,355,000 43,259,000
Net Income 737,000 737,000 -1,964,000 -7,069,000 3,009,000

PWR  Engineering & Construction quanta services
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 17,073,903 17,073,903 12,980,213 11,202,672 12,112,153
Net Income 491,189 491,189 485,956 445,596 402,044

J  Engineering & Construction jacobs solutions
Breakdown TTM 9/29/2022 9/29/2021 9/29/2020 9/29/2019
Total Revenue 15,340,868 14,922,825 14,092,632 13,566,975 12,737,868
Net Income 645,652 644,039 477,030 491,845 847,979

ODFL  Trucking old dominion freight line
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 6,260,077 6,260,077 5,256,328 4,015,129 4,109,111
Net Income 1,377,159 1,377,159 1,034,375 672,682 615,518

ADP  Staffing & Employment Services automatic data processing ADP雇用統計
Breakdown TTM 6/29/2022 6/29/2021 6/29/2020 6/29/2019
Total Revenue 16,674,200 16,046,500 14,583,000 14,044,600 13,613,300
Net Income 3,146,200 2,948,900 2,598,500 2,466,500 2,292,800

PAYX  Staffing & Employment Services paychex
Breakdown TTM 5/30/2022 5/30/2021 5/30/2020 5/30/2019
Total Revenue – 4,611,700 4,056,800 4,040,500 3,772,500
Net Income – 1,392,800 1,097,500 1,098,100 1,034,400

WM  Waste Management
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 19,698,000 19,698,000 17,931,000 15,218,000 15,455,000
Net Income 2,238,000 2,238,000 1,816,000 1,496,000 1,670,000

RSG  Waste Management republic services
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 13,511,300 13,511,300 11,295,000 10,153,600 10,299,400
Net Income 1,487,600 1,487,600 1,290,400 967,200 1,073,300

VRSK Consulting Services verisk analytics
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 2,497,000 2,497,000 2,998,600 2,784,600 2,607,100
Net Income 953,900 953,900 666,300 712,700 449,900

EFX  Consulting Services equifax
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 5,122,200 5,122,200 4,923,900 4,127,500 3,507,600
Net Income 696,200 696,200 744,200 520,100 -398,800

URI  Rental & Leasing Services united rentals
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 11,642,000 11,642,000 9,716,000 8,530,000 9,351,000
Net Income 2,105,000 2,105,000 1,386,000 890,000 1,174,000

SNA  Tools & Accessories snap on
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 4,492,800 4,492,800 4,252,000 3,592,500 3,730,000
Net Income 911,700 911,700 820,500 627,000 693,500

ALLE  Security & Protection Services allegion 上場10年目
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 3,271,900 3,271,900 2,867,400 2,719,900 2,854,000
Net Income 458,000 458,000 483,000 314,300 401,800

XOM  Oil & Gas Integrated exxon mobil
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 398,675,000 398,675,000 276,692,000 178,574,000 255,583,000
Net Income 55,740,000 55,740,000 23,040,000 -22,440,000 14,340,000

COP  Oil & Gas E&P conoco phillips
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 78,494,000 78,494,000 45,828,000 18,784,000 32,567,000
Net Income 18,680,000 18,680,000 8,079,000 -2,701,000 7,189,000

MPC  Oil & Gas Refining & Marketing marathon petroleum
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 177,453,000 177,453,000 119,983,000 69,779,000 123,949,000
Net Income 14,516,000 14,516,000 9,738,000 -9,826,000 2,637,000

SLB Oil & Gas Equipment & Services schlumberger
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 28,091,000 28,091,000 22,929,000 23,601,000 32,917,000
Net Income 3,441,000 3,441,000 1,881,000 -10,518,000 -10,137,000

KMI  Oil & Gas Midstream kinder morgan
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 19,200,000 19,200,000 16,610,000 11,700,000 13,209,000
Net Income 2,548,000 2,548,000 1,784,000 119,000 2,190,000

NEE  Utilities – Regulated Electric nextera energy
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 20,956,000 20,956,000 17,069,000 17,997,000 19,204,000
Net Income 4,147,000 4,147,000 3,573,000 2,919,000 3,769,000

SRE  Utilities – Diversified sempra energy
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 14,439,000 14,439,000 12,857,000 11,370,000 10,829,000
Net Income 2,139,000 2,139,000 1,318,000 3,933,000 2,198,000

AWK  Utilities – Regulated Water american water works
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 3,792,000 3,792,000 3,930,000 3,777,000 3,610,000
Net Income 820,000 820,000 1,263,000 709,000 621,000

ATO  Utilities – Regulated Gas atmos energy
Breakdown TTM 9/29/2022 9/29/2021 9/29/2020 9/29/2019
Total Revenue 4,672,885 4,201,662 3,407,490 2,821,137 2,901,848
Net Income 797,049 774,398 665,563 601,443 511,406

CEG  Utilities – Renewable constellation energy 上場2年目
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 24,440,000 24,440,000 19,649,000 17,603,000 18,924,000
Net Income -160,000 -160,000 -205,000 589,000 1,125,000

LIN  Specialty Chemicals linde 上場5年目業界1位
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 33,364,000 33,364,000 30,793,000 27,243,000 28,228,000
Net Income 4,147,000 4,147,000 3,826,000 2,501,000 2,285,000

CTVA  Agricultural Inputs corteva 上場4年目業界1位
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 17,455,000 17,455,000 15,655,000 14,217,000 13,846,000
Net Income 1,147,000 1,147,000 1,759,000 681,000 -959,000

NUE  Steel nucor
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 41,512,467 41,512,467 36,483,939 20,139,658 22,588,858
Net Income 7,607,337 7,607,337 6,827,461 721,470 1,271,143

FCX  Copper freeport mcmoran
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 22,780,000 22,780,000 22,845,000 14,198,000 14,402,000
Net Income 3,468,000 3,468,000 4,306,000 599,000 -239,000

NEM  Gold newmont
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 11,915,000 11,915,000 12,222,000 11,497,000 9,740,000
Net Income -429,000 -429,000 1,166,000 2,829,000 2,805,000

DOW  Chemicals 上場5年目業界1位
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 56,902,000 56,902,000 54,968,000 38,542,000 42,951,000
Net Income 4,582,000 4,582,000 6,311,000 1,225,000 -1,359,000

VMC  Building Materials valcan materials
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 7,315,200 7,315,200 5,552,200 4,856,826 4,929,103
Net Income 575,600 575,600 670,800 584,480 617,662

MLM  Building Materials martin marietta materials
Breakdown TTM 12/30/2022 12/30/2021 12/30/2020 12/30/2019
Total Revenue 6,160,700 6,160,700 5,414,000 4,729,900 4,739,100
Net Income 866,800 866,800 702,500 721,000 611,900