No MQL5 knowledge required. Describe what you want, get production-ready code. Download and drop straight into MetaTrader 5.
5 free generations per day · No credit card required
#property copyright "Chartinator AI"
#property version "1.00"
#property strict
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_plots 1
#property indicator_type1 DRAW_COLOR_LINE
#property indicator_color1 clrDodgerBlue,clrOrangeRed
#property indicator_width1 2
#property indicator_label1 "TrendMA"
input int InpMAPeriod = 20;
double MABuffer[];
double ColorBuffer[];
int maHandle = INVALID_HANDLE;
int OnInit() {
SetIndexBuffer(0, MABuffer, INDICATOR_DATA);
SetIndexBuffer(1, ColorBuffer, INDICATOR_COLOR_INDEX);
maHandle = iMA(_Symbol,_Period,InpMAPeriod,0,MODE_EMA,PRICE_CLOSE);
if(maHandle==INVALID_HANDLE) return(INIT_FAILED);
return(INIT_SUCCEEDED);
}Just describe your indicator in plain English. No MQL5 syntax knowledge required — we handle the code.
Get clean, compilable MQL5 code with proper buffer declarations, handles, and OnInit/OnCalculate structure.
Download your .mq5 file and drop it straight into your MetaTrader 5 indicators folder. Done.
Describe it. Generate it. Trade it.
Start Generating Free