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

Error_Break_Script_V2 - This script is a general example of using error brake in any strategy - Break on Code Error Sample Strategy - MetaTrader 4용 스크립트

[삭제]
조회수:
894
평가:
(3)
게시됨:
2024.03.24 08:20
업데이트됨:
2024.04.06 20:01
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Error_Break_Script_V2 revised

Version 1 - Error_Break_Script_V1 Deleted

Fixed implementation in Version2:


//+------------------------------------------------------------------+

//| Break_On_Error                                                        |

//+------------------------------------------------------------------+

int Break_On_Error(){

    int error_code = GetLastError();

    string error_string = ErrorDescription(error_code);

    Print("Error : ", error_string," ",error_code);

    return error_code;

}

//+------------------------------------------------------------------+

Tested successfully:






    Trail SL Trail SL

    simple trail stop loss code example.

    Moving Averages-14 different types Moving Averages-14 different types

    This is an indicator to calculate 14 types of moving averages based on close price.

    Hedge_Dollar_Index_Against_Forex_Pairs_V1 Hedge_Dollar_Index_Against_Forex_Pairs_V1

    Hedge Dollar index USIDX against its constitutive FOREX pairs EURUSD GBPUSD USDJPY USDCAD USDSEK USDCHF

    Close_on_PROFIT_or_LOSS_inAccont_Currency Close_on_PROFIT_or_LOSS_inAccont_Currency

    Close_on_PROFIT_or_LOSS_inAccont_Currency