Advertisement
Maurizio-Ciullo

Bot Unger Opening Range Breakout Nasdaq

May 11th, 2025
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Unger Youtube: https://www.youtube.com/watch?v=ZGYfsXdHWO4&t=117s//
  2.  
  3.                             // Bot Unger Opening Range Breakout Nasdaq 30 Min//
  4.                 // Avg Trade non ancora sufficiente da ottimizzare e migliorare soprattutto il lato Long//
  5.  
  6.  
  7. input: Mystop(2000), Myprofit(5000), solo_long(false), solo_short(false);
  8. var: LowLevel(0), HighLevel(0);
  9.  
  10. if time = 900 then Begin  
  11.     LowLevel= Low;
  12.     HighLevel = High;
  13. end;
  14.    
  15. if time >= 900 and time <= 1500 then Begin  
  16.     if high <= HighLevel and not solo_short = true then buy  next bar HighLevel stop;
  17.     if low >= LowLevel and Dayofweek(Date) = 5 and not solo_long = true then Sellshort next bar LowLevel stop;
  18. end;
  19.  
  20. if Marketposition <> 0 then Begin
  21.     Buytocover next bar HighLevel stop;
  22.     sell next bar LowLevel stop;
  23. end;
  24.    
  25. setexitonclose;
  26.  
  27. Setstopcontract;
  28. Setstoploss(Mystop);
  29. Setprofittarget(Myprofit);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement