Thread: Martingale EA
View Single Post
  #426 (permalink)  
Old 02-14-2008, 05:30 AM
ElectricSavant's Avatar
ElectricSavant ElectricSavant is offline
Senior Member
 
Join Date: Jun 2007
Posts: 3,095
ElectricSavant is on a distinguished road
Thanks wolfe...

Is this TF sensitive?...what I mean... will it use whatever time frame it is loaded on?....or what happens if we switch TF'S after dragging it on to a chart?

ES

Quote:
Originally Posted by wolfe View Post
Kayvan,

I altered the code to try and fit your idea. If you don't like where the next buy or the next sell is being placed then alter this piece of code-(I labeled it so you can find it easily)
PHP Code:
/////////////////////////////////////////////////// CHANGE CODE HERE FOR NEXT_BUY OR NEXT_SELL//////////////////////////////////
double Next_Buy=((High[1])+(spread*Point)+(2*Point));                                                                         //
double Next_Sell=((Low[1])-(spread*Point)-(2*Point));                                                                         //
/////////////////////////////////////////////////// CHANGE CODE HERE FOR NEXT_BUY OR NEXT_SELL////////////////////////////////// 
Let me know how it works.
Reply With Quote