거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Open and Close positions using the lines - MetaTrader 4용 expert

조회수:
24201
평가:
(7)
게시됨:
2009.11.23 14:55
업데이트됨:
2014.10.27 16:29
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Description:

The Expert Advisor draws 4 lines: "BUY LINE", "SELL LINE" и and two corresponding "CLOSE" lines.

Your task is to move the lines to the prices you want to operate - to Buy, to Sell, or to Close.

The orders are set and close at the moment then price crossing the line, for example for Buy case: if the Ask price crosses "Buy LINE", and for Sell case if the Bid price crosses "SELL LINE", the same is for "CLOSE" lines.

Image:

Here is a trade example at figure

The total number of lines can be reduced using the lines

DRAW_SELL - draw Sell line
DRAW_BUY - draw Buy line
DRAW_CLOSE1 - draw Close1 line
DRAW_CLOSE2 - draw Close2 line

There are some external variables: lot - lot size and order - maximal orders allowed. The CLOSE lines can be used for a trailing stop, just choose right angle.

The Expert Advisor has been created using The signal lines with alert after crossing, you can find my other solutions here. Good Luck!


Editor's remark:

Note that it's a mirror translation of the original Russian version.

If you have any questions to the author, suggestions or comments, it's better to post them there.

If you have found this code useful for trading or educational purposes, don't forget to thank author.

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/9347

Opened positions indicator Opened positions indicator

It shows a brief information about all of the positions opened. It can be useful, if yours expert advisor trades many positions simultaneously.

Stochastic with Noise Reduction Stochastic with Noise Reduction

It reduces a lot of false signals using sensitivity tuning.

Fine Fractal Channel Fine Fractal Channel

A finer resolution channel made of three bar fractals.

Average Stocastic indicator for several timeframes Average Stocastic indicator for several timeframes

It shows Stochastics for several timeframes in a single chart, also it calculates the average value.