Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

zapisy

Members
  • Content Count

    81
  • Joined

  • Last visited

Posts posted by zapisy


  1. To find SR you can use something like this:

     

    
    vars: 	Support	 (0), 
    Resistance (0);
    
    
    Resistance  = highest(H,Length)[1];
    Support = lowest(l,Length)[1];
    
    
    if Resistance<>Resistance[1] 	then Resistance = highest(h,Length)[1];
    if Resistance=Resistance[1] 	then Resistance = Resistance[1];
    
    If Support<>Support[1] 	then Support = lowest(l,Length)[1];
    if Support=Support[1] then Support = Support[1];
    
    


  2. Tto find support and resistance, you can use someting like that:

     

     

    
    vars: 	 Support	    (0), 
     Resistance   (0);
    
    
    Resistance = highest(H,Length)[1];
    Support 	 = lowest(l,Length)[1];
    
    
    if Resistance<>Resistance[1] 	then Resistance = highest(h,Length)[1];
    if Resistance=Resistance[1] 	then Resistance = Resistance[1];
    
    If Support<>Support[1] 	then Support = lowest(l,Length)[1];
    if Support=Support[1] 	then Support = Support[1];
    


  3. Any optimization is a curve fitting, if is done without forward testing.

     

    Never base your profit target on fixed amount, because the bars range change every day, every month and every year - they are different in size.

    By optimizing, you are trying to find best values, but those values may be on the edge of the bars, so simply speaking, is better to be out, than miss big profits,

    when last bar range were big enough to take $1500 instead of $500.

     

    You can add a condition, that if the possible profit factor is less than your stop * 2, then do not take the trade.

     

    Luk

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.