マイ・ナイトメア スペシャル・エディション ~~~。
EAスクリプトは何のためにあるのですか?
mqtファイルです。
EAにサポートライン・レジスタンスラインを追加できますか?
そうすれば、サポート/レジスタンスラインに到達したときだけ取引を開始し、終了することができます?
このコードを使って、キャンドルのハイローを検出することができますか?
if(High[1]<High[2] && Low[1]>Low[2]
これはどうですか?
if(High[1]<High[2] { int OrderSend (string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE) return(0)
また強力なEAを作ろうと思っているのですが・・・。^^
私を助けてください。
どなたかいらっしゃいませんか?
なぜ同じ基本的なコードについて新しいスレッドを作成しているのですか? なぜ2つのスレッドが必要なのですか?
はい、そうです。
これらの() {}はそんなに使えますか?
修正時にエラーメッセージが表示されます。
EAスクリプトは何のためにあるのですか?
スクリプトは作業が終わると停止します。
EAに抵抗線(Support Resistance Line)を追加できますか?
なぜダメなのですか?
EA実行中にチャートに線を引きたい場合、どのようにコードを書けばいいのでしょうか?
トレンドライン、サポートライン・レジスタンスラインなどなど。
同じチャートにインジケーターを表示させる
EAの中に線を引く
Print("high1 = ",High[1]); or Comment("high1 = ",High[1]) ;
===========================================
これはどうなんでしょう?
if(High[1]<High[2] { int OrderSend (string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE) return(0)
これは、あなたのプログラムに書かれているこのように動作していない練習を読む簡単なプログラムを作成し、デモ口座 でそれをテストすることから始める
何をやっているのか分からないのに、どうやって強力なEAを作るんだ?基本的なところから始めないと。
はい
もう一度勉強します。
はじめから...
取引の機会を逃しています。
- 無料取引アプリ
- 8千を超えるシグナルをコピー
- 金融ニュースで金融マーケットを探索
//+------------------------------------------------------------------+ //| xxxxx.mq4 | //| Copyright 2012 xxxxx| //| | //+------------------------------------------------------------------+ extern string xxxxx extern double xxxxx extern double xxxxx extern double xxxxx extern double xxxxx extern int xxxxx extern int xxxxx extern double xxxxx extern double xxxxx extern double xxxxx extern int xxxxx extern bool xxxxx void deinit() { Comment(""); } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int start() { if(xxxxx) { Print("xxxxx"); return(0); } if(xxxxx) { Print("xxxxx"); return(0); } if(xxxxx) { Print("xxxxx"); return(0); } datetime start = StrToTime("00:00"); datetime end = StrToTime("23:59"); if(TimeCurrent() >= StartTrade && TimeCurrent() < EndTrade) { Print("TRADING"); } else { Print("NOT TRADING"); return(0); } double xxxxx; double xxxxx; double xxxxx; double xxxxx; if((xxxxx)) { Print("xxxxx); return(0); } if(xxxxx) { Print("xxxxx); return(0); } if(xxxxx) { Print("xxxxx"); return(0); } if(xxxxx) { Print("xxxxx"); return(0); } if (!xxxxx) { if ((xxxxx)) { OpenBuy(); return(0); } if ((xxxxx)) { OpenSell(); return(0); } } } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ bool ExistPositions() { for (int i=100; i<xxxxx; i++) { if (xxxxx(i, SELECT_BY_POS, MODE_TRADES)) { if (xxxxx()==Symbol()) { return(True); } } } return(false); } void OpenBuy() { double ldLot, ldStop, ldTake; string lsComm; ldLot = GetSizeLot(); ldStop = GetStopLossBuy(); ldTake = GetTakeProfitBuy(); lsComm = GetCommentForOrder(); OrderSend(Symbol(),OP_BUY,ldLot,Ask,Slippage,ldStop,ldTake,lsComm,0,0); } void OpenSell() { double ldLot, ldStop, ldTake; string lsComm; ldLot = GetSizeLot(); ldStop = GetStopLossSell(); ldTake = GetTakeProfitSell(); lsComm = GetCommentForOrder(); OrderSend(Symbol(),OP_SELL,ldLot,Bid,Slippage,ldStop,ldTake,lsComm,0,0); } string GetCommentForOrder() { return(xxxxx); } double xxxxx() { return(LotSize); } double Getxxxxx() { return(Ask+xxxxx*Point); } double Getxxxxx() { return(Bid-xxxxx*Point); } double Getxxxxx() { return(Bid-xxxxx*Point); } double Getxxxxx() { return(Ask+xxxxx*Point); return(0); }