| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Quote:
Print("Ask is ",Ask," and stoploss will be ",sl," and takeprofit will be ",tp); I also set stoploss level and takeprofit level before that. Like this: sl=Bid-SL*Point; tp=Bid+TP*Point; and only after I put print...
__________________
MQL4 programming is easy ^^ |
|
|||
|
Thanks Shinigami,
Can You put the code inside the Heinki Ashi, I have no idea where to put it. I tried already. Here is the code for heinki ashi: Thanks Shinigami, You are awesome!!! PHP Code:
![]() |
|
|||
|
Shinigami,
I need Your help: Before, it was: PHP Code:
PHP Code:
What's the problem? Thanks in advance..... MQL4. ![]() |
|
|||
|
After you compiled EA and started testing it, its properties (settings) are written down into a file. You need to change them manually.
If you wrote TP = 400 in the EA, then it means you set default value to 400. In order for the EA to use that value in strategy tester you need to set it in the EA settings. Or simply use default values (there is a button for that, but I have no idea what is it called, my MT4 is russian). Anyway just change the value in the properties. I also recommend you setting best values as default values - each time you compile an expert that is attached to a chart, default values are being used.
__________________
MQL4 programming is easy ^^ |
|
|||
|
Quote:
|
![]() |
| Bookmarks |
| Tags |
| automated close order, close, eas, forex, learn mql4, learn mql4 video, mql4 learning, OrderCloseBy, profit, reach, secure profit function, T101_v1.11_orest_IBFXm.mq4 |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Learning Cycles For New Traders | Dan7974 | General Discussion | 350 | 01-18-2008 07:04 PM |
| Learning to code for autotrading | GoatT | Metatrader Programming | 8 | 01-10-2007 09:55 PM |
| Self learning expert | mrtools | Expert Advisors - Metatrader 4 | 32 | 10-22-2006 06:29 PM |