Thread: Martingale EA
View Single Post
  #505 (permalink)  
Old 02-16-2008, 11:27 PM
ElectricSavant's Avatar
ElectricSavant ElectricSavant is offline
Senior Member
 
Join Date: Jun 2007
Posts: 2,818
ElectricSavant is on a distinguished road
Well I do not understand how to code...this is your department. To make sure that I am communicating the two variables... let me go over them again:

1) Pyramid example: Long at 1.5500 then with a lookback of 1 with a 2 pip entrylag ..lets pretend the next candlestick opened and proceeded to go up past the previous candlestick high...up ...up...and up...it went up to 1.5502 but there is a two pip spread....so nothing happened...it continued up to 1.5504 Bam! trigger....another long was added!....the global TP takes us out...we are rich and move to the Bahama's for the summer

2) Average down example: Long at 1.5500 then with a lookback of 1 with a 2 pip entrylag ...lets pretend the next candlestick opened down ...down ...down past the previous candlestick low..it went down to 1.5498...thats was enough because we are buying on the drop...bam we are in! Bahama's for the second summer...this time in our Yacht!

ES

Quote:
Originally Posted by wolfe View Post
How about simply an input such as this-

Logic=1; //1=trend, 2=counter-trend

Trying to figure out good ways to implement all the new ideas, without over complicating the code.
__________________
Live Portfolio (This takes a while to download as it is a big excel spreadsheet)

Last edited by ElectricSavant; 02-16-2008 at 11:29 PM.
Reply With Quote