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

Price - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 5 reads | 0 comments |

Price - indicator for MetaTrader 5

A price tag with adjustable parameters has been added to the right of the price.

Indicator input parameters:

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Input string Mr. name = "price" ; //The first part of the graphic object name
Enter PriceMode price=BID; //Price determination method
Input unit number_= 0 ; //Number to be rounded
Input color color_= magenta ; //price color
Input unit font size = 2 ; //Color of price label
Input integer shift = 10 ; //Horizontal movement of the price label in the bar

Price - indicator for MetaTrader 5

Figure 1. Price indicators


Attachment download

📎 price.mq5 (6.2 KB)

Source: MQL5 #15057

Verification code Refresh