Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Setting A Stop Order When The Price Crosses The Line Expert Advisor

author EAcpu | 3 reads | 0 comments |

Setting A Stop Order When The Price Crosses The Line Expert Advisor review and download instructions

This article organizes EA related to CMillion Expert Advisor. The content has been removed from the Russian language and external website promotion information, and has been reorganized according to the common concerns of foreign exchange EA users, making it easier to judge whether it is suitable for real trading or testing environments.

strategic positioning

This type of EA is usually used in automated trading scenarios of MT4 or MT5. Before formal use, you should first confirm the trading variety, cycle, spread, slippage, leverage and broker execution conditions to avoid directly treating a single historical performance as a future profit expectation.

Testing recommendations

It is recommended to test separately in a demo account and a small capital account first, focusing on observing the maximum drawdown, continuous losses, holding time, news market performance, and the sensitivity of parameters to different market stages.

Key points of English page

The EA builds two lines on the chart at startup: green (start) and red (stop). You can move the lines anywhere with the mouse. At the same time, if the green line is above the red line, then in the future we plan to place a buy-stop order, if the green line is below the red one, then the sell-stop is accordingly.

If the price has crossed the start line, a stop order is placed at the distance specified in the parameters from this line. If the price has reached a stop order, the EA stops working. If the price has not reached the stop order, and turned around and crossed the stop line, the order is deleted and the script finishes.

extern double Lot = 0.01; // lot of orders extern int Level = 25; // distance from start line to pending order extern int SL = 25; // distance from stop to Stoploss extern int Magic = 123321;

SSDY1.zip 2.1 KiB 928 Downloads Details Author: cmillion Platforms: Windows 8 Category: Scripts Date: 07.04.2018

Risk warning

EA cannot eliminate market risk. Grid, martin, scalping, arbitrage, and high-frequency strategies are particularly dependent on the trading environment. Stop-loss logic, order quantity limits, and capital occupation under abnormal market conditions should be separately evaluated before placing a firm offer.

Verification code Refresh