#property indicator_chart_window
int deinit()
{
ObjectDelete("Text1");
ObjectDelete("Text2");
ObjectDelete("Text3");
ObjectDelete("Text4");
return(0);
}
int start()
{
DrawLabel ("Text1", "1. baca bismillah dulu sebelum trading", 10, "Arial", Crimson, 0, 30, 30);
DrawLabel ("Text2", "2. sabar dan tunggu jika sinyal belum ada", 10, "Arial", Yellow, 0, 30, 50);
DrawLabel ("Text3", "3. jangan serakah", 10, "Arial", Purple, 0, 30, 70);
DrawLabel ("Text4", "4. dll", 10, "Arial", MediumSeaGreen, 0, 30, 90);
}
void DrawLabel (string name, string text, int fontSize, string fontStyle, color clr, int corner, int xPos, int yPos)
{
ObjectCreate(name, OBJ_LABEL, 0, 0, 0);
ObjectSetText(name, text, fontSize, fontStyle, clr);
ObjectSet(name, OBJPROP_CORNER, corner);
ObjectSet(name, OBJPROP_XDISTANCE, xPos);
ObjectSet(name, OBJPROP_YDISTANCE, yPos);
}