| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Choosing diferent options in an EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=817 |
Page 1 of 1 |
| Author: | alphakenny1 [ Sat Sep 15, 2012 8:21 pm ] |
| Post subject: | Choosing diferent options in an EA |
hello just thought i'd ask the professionals on how they would do it i am in the process of writing an EA, and i want several TP and SL settings. how do i arrange it?? in my head it would be: if method 1 = true method 2,3... = false using a bool function, and the methods separated by the void function. example: method 1 (TP = 10) Method 2: (move stoploss to BE +1, then trail 10, TP = 100) method 3: (TP at Pivot, fibo, whatever line or indi ) then have the methods user defined in extern parameters. or am i making no sense and should read the MQL4 book again. |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|