und werden Sie Mitglied unserer Fangruppe
Veröffentliche einen Link auf das Skript, damit die anderen ihn auch nutzen können
Bewerten Sie es im Terminal MetaTrader 5
- Ansichten:
- 39010
- Rating:
- Veröffentlicht:
- 2014.11.27 13:17
- Aktualisiert:
- 2016.11.22 07:32
-
Benötigen Sie einen Roboter oder Indikator, der auf diesem Code basiert? Bestellen Sie ihn im Freelance-Bereich Zum Freelance
AutoTStop EA does not work to open the orders, but only helps trader to use Trailing Stop.
Automatic Trailing Stop will work when the price has reached half of the value that you specify on Trailing Stop.
Copy and paste ping.wav sound (ping.zip) into MetaTrader 4/Sounds folder, so that every time an order is closed or take profit, EA will provide notification sound.
I trade using AutoTStop_EA in TF M5 with template AutoTS6-MMA-RVI60-CS.tpl (AutoTS6-MMA-RVI60-CS.zip) on pairs (EURUSD, USDCHF, AUDUSD, EURAUD, EURJPY, GBPJPY, GBPAUD, GBPCHF, GBPUSD, NZDUSD, USDCAD, USDJPY) with very satisfactory results.
Update 01 (2014-12-05):
2. Value CalcSTP().
3. Value system Trailing Stop.
Update 02 (2015-01-05):
1. Fixed some typos code.
Update 03 (2015-03-27):
1. Changed the calculation system for TP and SL.
2. Simplified the code to improve the performance of the EA.
Update 04 (2015-06-16):
1. Correction of bugs on the overall program scripts.
2. Added BEP on the Trailing Stop.
Update 05 (2015-07-03):
1. There is no change in the Expert Properties, still according update_4.
2. Minor changes in the void StartAction() function, and the void TpSlTrlS() function.
//--- User Input // Update_4 (16-06-2015) input string AutoTStop = "Copyright © 2014 3RJ ~ created by Roy Philips-Jacobs"; extern bool FridayTrade = True; // If True, EA still trading at Friday extern bool UseTrailingStop = True; // Use Trailing Stop, True (Yes) or False (Not) extern bool AutoTrailingStop = True; // Default Trailing Stop value = 24.0 extern double TrailingStop = 24.0; // If Auto Trailing Stop False, input Trailing Stop Value extern double TrailingStopStep = 1.0; // Input Trailing Stop Step Value (default 1.0) input string AutomaticSystemTP = "Set AutomaticTakeProfit=True or False"; extern bool OptimizationTakeProfit = True; // TP will calculation by EA and Automatic TP by EA extern bool NoMinimumTakeProfit = True; // True or False -> If Set True, 100% TP by EA not use minimum TP. input string MinimumSystemTP = "If Set NoMinimumTakeProfit=False"; // TP by EA on minimum TP values extern double MinimumTP = 12; // Minimum TP by EA on the AutomaticTakeProfit=True function, default value 12 input string ManualSystemTP = "If Set AutomaticTakeProfit=False"; // TP by Terminal MT4 (same as manual trading) extern double TakeProfit = 20; // TP by System, values can adjust by user, default 20 input string AutomaticSystemSL = "Set AutomaticStopLoss=True or False"; extern bool AutomaticStopLoss = True; // SL will calculation by EA input string ManualSystemSL = "If Set AutomaticStopLoss=False"; // SL values can adjusted by user extern double StopLoss = 108; // SL adjusted by user, default 108 //---
![FiboStop](https://c.mql5.com/i/code/expert.png)
Expert Advisor that moves Stop Loss according to Fibonacci retracements or expansions.
![KNUX V1.0](https://c.mql5.com/i/code/expert.png)
The idea is to work with a trigger, based on ADX, CCI, RVI, WPR and EMA.
![Indicator Data to CSV file](https://c.mql5.com/i/code/indicator.png)
This indicator gathers indicator data and prints them in the csv file.
![Closing Prices to CSV file](https://c.mql5.com/i/code/script.png)
The script gets all the symbols available on your platform and writes their closing prices for a specific bar to a csv file.