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

MQL4 OnTrade() Alternative - MetaTrader 4용 expert

조회수:
16020
평가:
(12)
게시됨:
2014.02.17 13:07
업데이트됨:
2016.11.22 07:32
Simulator.mq4 (27.29 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Author:

Coders' Guru

While discovering the MQL4 New build (610) capabilities I found a very useful even OnTrade() highlighted in MetaEditor.

I clicked F1 to see its implementation but unfortunately it's not supported yet in MQL4.

That's why I created my own Simulator.

This code will raise events on these cases:

OnOpen: When open a new instant order.

OnModify: When the order modified.

OnStopLoss: When the order close because its StopLoss.

OnTakeProfit: When the order close because its TakeProfit.

OnClose: When the order close (Not by SL or TP).

Please give it a test and tell me your comments.


Regards,

Coders' Guru



Tester example
    Multi Time Frame Bars Visualization v1.6 Multi Time Frame Bars Visualization v1.6

    A tool to give us a better market perspective.

    Turtle Trader Turtle Trader

    Good For EURUSD. Start by Money $300.

    Day Trader Market Profile Day Trader Market Profile

    The indicator ыimulates the full structure of the market profile system that described by "James Dalton" in his book "Mind Over Markets".

    VR---Overturn VR---Overturn

    Adviser may trade in two modes: Martingale and antimartingeyl ...