Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Option Level Indicator - MetaTrader 4 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 6 reads | 0 comments |

Indicator of the options levels - indicator for MetaTrader 4

This indicator is designed to calculate and display option levels on the screen.

Download СМЕ announcement: http://www.cmegroup.com/market-data/daily-bulletin.html

Or from here: ftp://ftp.cme.com/bulletin/

Fill in the input parameters of the indicator and get the option levels on the screen.

The level is calculated according to the following formula:

Indicator input parameters:

Enter double call_1_strike = 1115 ; // call option strike price 1
Enter double call_1_Prem = 7.6 ; // call premium 1
Enter double Call_1_Vol = Chapter 471 ; // Call volume 1
Enter double call_1_OI = 1513 ; // call open position 1

Enter double call_2_strike = 1120 ; // call option strike price 2
Enter double call_2_Prem = 5.8 ; // call premium 2
Enter double Call_2_Vol = Chapter 419 ; // Call volume 2
Enter double Call_2_OI = 3016 ; // Call Open Position 2

Enter double call_3_strike = 1130 ; // call option strike price 3
Enter double call_3_Prem = 3.1 ; // call premium 3
Enter double Call_3_Vol = 696 ; // Call volume 3
Enter double Call_3_OI = 2738 ; // Call Open Position 3

Enter double Put_1_Strike = 1080 ; // put strike price 1
Enter double Put_1_Prem = 1.9 ; // put premium 1
Enter double Put_1_Vol = Chapter 694 ; //Put in volume 1
Enter double Put_1_OI = 2541 ; // Put open interest 1

Enter double Put_2_Strike = 1100 ; // put strike price 2
Enter double Put_2_Prem = 6.2 ; // put premium 2
Enter double Put_2_Vol = Chapter 655 ; //Put in volume 2
Enter double Put_2_OI = 3148 ; // Put open interest 2

Enter double Put_3_Strike = 1090 ; // put strike price 3
Enter double Put_3_Prem = 3.5 ; // put premium 3
Enter double Put_3_Vol = Chapter 286 ; //Put in volume 3
Enter double Put_3_OI = 7061 ; // Put open interest 3

Enter double multiplier = 0.001 ; // Premium multiplier

input string line input = "**** line input *****" ; input integer line width = 2 ; // line width
Input integer line style = 0 ; // line style
Input integer line start = 0 ;// The starting column of the line enters the integer End of line = 15 ; // The end column of the line enters the color CallColor = red; // Call line color input color PutColor = Lime ; // Sets the line color input string text input = " **** text_input ***** "; = blue ; // Call text color input color PutText = blue; // Set text color input boolean display text = True ; // Display text 

Indicator of the options levels - indicator for MetaTrader 4

Figure 1. Indicators on the chart

suggestion:


Attachment download

📎 optionslevel.mq4 (8.12 KB)

Source: MQL5 #15934

Verification code Refresh