Advertisement
Maurizio-Ciullo

Study Non Aggiornare Stop

Feb 18th, 2023 (edited)
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3.                                                // Study Non Aggiornare Stop 2 Modi Per Realizzarlo //
  4.                             // Lo Short Del 2ndo Modo Non Funziona Ci Deve Essere Un Bug Non Sullo Study Ma Sullo Stretegy !!! //
  5.    
  6. //https://www.youtube.com/watch?v=-J9tuRhe3-U&t=78s
  7.                                            
  8.                                                
  9. // ------------------------------------ INIZIO STUDY NON AGGIORNARE STOP 1 MODO ------------------------------------ //
  10.  
  11. plot1(highd(0), "highd0");
  12. plot2(lowd(0), "lowd0");
  13.  
  14. // ------------------------------------ FINE STUDY NON AGGIORNARE STOP 1 MODO ------------------------------------ //
  15.  
  16.  
  17. // ------------------------------------ INIZIO PRINT PER STRATEGIE NON AGGIORNARE STOP 1 MODO  ------------------------------------ //
  18.                                                
  19. //print(highd(0), "highd0");
  20. //print(lowd(0), "lowd0");
  21.  
  22.  
  23. // ------------------------------------ FINE PRINT PER STRATEGIE NON AGGIORNARE STOP 1 MODO  ------------------------------------ //
  24.                                                                        
  25.                                                                                          
  26. // ------------------------------------ INIZIO STUDY NON AGGIORNARE STOP 2 MODO ------------------------------------ //
  27.                             // Lo Short Del 2ndo Modo Non Funziona Ci Deve Essere Un Bug Non Sullo Study Ma Sullo Stretegy !!! //
  28.  
  29. // Long
  30. {var: myStop(0), MP(0);
  31.  
  32. MP = I_Marketposition;
  33.  
  34.  
  35. plot1(MP);
  36.  
  37. if MP[1] = 0 and MP = 1 then
  38.     myStop = lowd(0);
  39.     plot2(myStop);}
  40.    
  41. // Short
  42. {var: myStop(0), MP(0);
  43.  
  44. MP = I_Marketposition;
  45.  
  46.  
  47. plot1(MP);
  48.  
  49. if MP[1] = 0 and MP = -1 then
  50.     myStop = highd(0);
  51.     plot3(myStop);}
  52.    
  53.    
  54. // ------------------------------------ FINE STUDY NON AGGIORNARE STOP 2 MODO ------------------------------------ //
  55.  
  56.  
  57. // ------------------------------------ INIZIO PRINT PER STRATEGIE NON AGGIORNARE STOP 2 MODO  ------------------------------------ //
  58.  
  59. {var: myStopLong(0), myStopShort(0), MP(0);
  60. MP = Marketposition;
  61.  
  62. // Long
  63. if MP[1] = 0 and MP = 1 then
  64.     myStopLong = lowd(0);
  65. if  MP[1] = 0 and MP = 0 then
  66.     myStopLong = 0;
  67.     print(myStopLong);
  68.    
  69. // Short   
  70. if MP[1] = 0 and MP = -1 then
  71.     myStopShort = highd(0);
  72. if  MP[1] = 0 and MP = 0 then
  73.     myStopShort = 0;
  74.     print(myStopShort);}
  75.    
  76.    
  77. // ------------------------------------ FINE PRINT PER STRATEGIE NON AGGIORNARE STOP 2 MODO  ------------------------------------ //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement