Maurizio-Ciullo

Indicatore Entries Today

Dec 9th, 2025
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.                                                                               // Indicatore Entries Today //
  3.                                                                 // Limita Ingressi Sui Giorni Di Calendario o Sulle Sessioni //
  4.                                                                
  5. // * ATTENZIONE: INSERIRE ORA ULTIMA BARRA A: T=1600 * PER INDICARE ULTIMA BARRA SESSIONE
  6.  
  7. input: MultipleEntries(1);
  8. var: oktrade(true), MP(0);
  9.  
  10. MP = marketposition;
  11. if T=1600 then oktrade=true;                       // *
  12. if MP<>MP[1] and MP<>0 then oktrade=false;
  13.  
  14. //// MULTIPLE ENTRIES
  15. if MultipleEntries=1 then begin
  16.     if T>=1730 or T<1500 then buy next bar HighSession(1,0) stop;
  17.     if T>=1730 or T<1500 then sellshort next bar LowSession(1,0) stop;
  18. end;
  19.  
  20. //// NO MULTIPLE ENTRIES w/ EntriesToday / Calendar Day
  21. if MultipleEntries=0 and EntriesToday(d)=0 then begin
  22.     if T>=1730 or T<1500 then buy next bar HighSession(1,0) stop;
  23.     if T>=1730 or T<1500 then sellshort next bar LowSession(1,0) stop;
  24. end;
  25.  
  26. //// NO MULTIPLE ENTRIES w/ oktrade / Session
  27. if MultipleEntries=-1 and oktrade then begin
  28.     if T>=1730 or T<1500 then buy next bar HighSession(1,0) stop;
  29.     if T>=1730 or T<1500 then sellshort next bar LowSession(1,0) stop;
  30. end;
  31.  
  32. setexitonclose;
  33.  
Advertisement
Add Comment
Please, Sign In to add comment