Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // youtube: https://youtu.be/XokVR2HyYwg
- datetime Tiempo1 = D'2022.01.05 00:00';
- datetime Tiempo2 = D'2022.01.15 00:00';
- void OnStart()
- {
- /* ESTE ES OTRO METODO DONDE OBTENER EL VALOR TEMPORAL
- MqlRates InfoPrecio[];
- ArraySetAsSeries(InfoPrecio,true);
- CopyRates(Symbol(),PERIOD_CURRENT,0,Incio+Final,InfoPrecio);
- */
- LineasCiclicas(rand()+rand());
- }
- void LineasCiclicas(string identificador)
- {
- ObjectCreate(0,identificador,OBJ_CYCLES,0,Tiempo1,0,Tiempo2,0);
- }
Advertisement
Add Comment
Please, Sign In to add comment