Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Youtube : https://youtu.be/S8_2qYW_ciI
- datetime Tiempo1 = D'2017.06.31 00:00';
- double Precio1 =1.6;
- datetime Tiempo2 = D'2020.03.31 00:00';
- double Precio2 =1;
- void OnStart()
- {
- LineaTendencia(rand()+rand(),Tiempo1,Precio1,Tiempo2,Precio2);
- }
- void LineaTendencia(string identificador,
- datetime tiempo1,
- double precio1,
- datetime tiempo2,
- double precio2)
- {
- ObjectCreate(NULL,identificador,OBJ_TREND,0,tiempo2,precio2,tiempo1,precio1);
- }
Advertisement
Add Comment
Please, Sign In to add comment