การใส่รูปลงบน Chart
void PictureInsert(string name,int x, int y, string PicName){
ObjectCreate(0,name,OBJ_BITMAP_LABEL,0,0,0);
ObjectSetString(0,name,OBJPROP_BMPFILE,0,PicName);
ObjectSetInteger(0,name,OBJPROP_CORNER,CORNER_LEFT_UPPER);
ObjectSetInteger(0,name,OBJPROP_XDISTANCE,x);
ObjectSetInteger(0,name,OBJPROP_YDISTANCE,y);
}

// PicName : กำหนดชื่อไฟล์รูปภาพที่คุณต้องการแสดง (ต้องอยู่ในโฟลเดอร์ terminal_data_folder\MQL4\Files) โดยไฟล์รูปภาพควรเป็น .bmp