読み取り専用

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

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

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

ご参加ください Discord YouTube

Custom SQX Indicators and MultiCharts

1件の返信

tactevo

Subscriber, customer, community, bbp_participant, sq-ultimate, 6 replies.

プロフィールを表示

6年前 #259044

I’m creating custom SQX java indicators to match indicators I’ve built in MultiCharts.

I’ve worked through the development and just need to test.

How do I setup and use the SQ_IndyExport strategy in MultiCharts when testing my SQX indicator?

I’ve found documentation that describes how to do this with MetaTrader here:

https://strategyquant.com/doc/programming-sq/adding-envelopes-indicator-step-by-step/#configure-and-run-indicator-test-in-sq

But I haven’t found a description to do this with MultiCharts.

I assume I just have to modify the last Print statement in SQ_IndyExport to match some configuration of parameters for my indicator, ie the below code is for testing MACD with parameters 8,52,16,1 using Close as the Input.

Print(File(“D:\\Coding\\Java\\Eclipse\\StrategyQuant\\strategyquant4\work_directory\StrategyQuant\\tests\\Indicators\\MultiCharts\\MACD_SIGNAL_CLOSE_8_52_16.txt”), FormatDate( “yyyy.MM.dd”, ElDateToDateTime( Date[1] )), ” “, FormatTime( “hh:mm:ss”, ElTimeToDateTime( Time[1] )), “;”, Open[1], “;”, High[1], “;”, Low[1], “;”, Close[1], “;”, Volume[1], “;”, NumToStr(SQ_MACD(Close, 8, 52, 16, 1)[1], 6));

Any best practices here?  Or more documentation?

 

0

Tomas Matejka

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

プロフィールを表示

6年前 #259050

こんにちは,

yes, you just need to modify the last two active code lines in SQ_IndyExport and replace the indicators reference names from “SQ_MACD” to the names your indicators use and also set correct parameters. Then you can run the script and the data file will be created for the SQX test

0

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