読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

カスタム関数エラー

3件の返信

ファルハン

購読者、bbp_participant、sq-ultimate、3件の返信。.

プロフィールを表示

3年前 #281739

I successfully add my custom code to the SQX by adding it to the end of code (..code\MetaTrader5\CustomFunctions\CustomFunctions.mq5) and I also saw my code at the end of the also wizard source code

And, it works well in the MetaTrader5 platform but I don’t why it is not working in Algowizard and received Error: CustomFunction is not implemented in strategy quant”. I attached the Error pic

 

this is my simple code:

//————————–

int MyFun()
{
int Clean=-1; int LengDownUp=5;
for(int x=3; x<LengDownUp+3; x++)
{ if (iClose(NULL,PERIOD_CURRENT,x) > iOpen(NULL,PERIOD_CURRENT,x))
Clean=0;
Print(“Close[“+x+”]= ” + iClose(NULL,PERIOD_CURRENT,x)+” Result= “+Clean );
}

return(Clean);
}

添付ファイル:
に違いない ログインしました 添付ファイルを表示するには.

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

3年前 #281784

こんにちは、,

custom code placed into the CustomFunctions.mq5 cannot be used in StrategyQuantX. The functions and code is supposed to be used only in MetaTrader 4 / 5 unfortunately

If you want new functions available in StrategyQuantX you need to add new Java code. See examples here https://strategyquant.com/codebase

0

ファルハン

購読者、bbp_participant、sq-ultimate、3件の返信。.

プロフィールを表示

3年前 #281792

I don’t know Java, Is it possible to convert it to Java by your team?

Also, do you have any guidelines to learn me how to code in Java & where to compile it in SQX? I want to see if maybe I can do it by myself.

To be honest, the Algo wizard is a very useful & creative tool but unfortunately, it doesn’t have the popular “For ” function I think it is essential and needs to be added in the Algowizrd.

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

3年前 #281817

こんにちは、,

sure, if you need a hand with Java, you can request help using this page https://strategyquant.com/codebase/request-coding/

0

3件の返信を表示中 - 1 - 3件目 (全3件中)