無料でロボットをダウンロードする方法を見る
Twitter上で私たちを見つけてください。
私たちのファンページに参加してください
私たちのファンページに参加してください
記事を気に入りましたか?MetaTrader 5ターミナルの中でそれを試してみてください。
- 発行者:
- Rinkan Rohit
- ビュー:
- 20821
- 評価:
- パブリッシュ済み:
- 2019.06.04 08:25
- アップデート済み:
- 2019.06.04 12:00
-
このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動
Here is the code if you directly wants to copy ,if you have downloaded the code from the above you need to set the chart in 5 min mode but in case you want to drag and drop , then copy the code below and go to your meta editor and then press ctrl+n or in mac command +n then choose Script then then new and then just paste and save then restart the terminal and here you go.
//+------------------------------------------------------------------+ //| advancedv3.0.mq4 | //| RinkanKnight | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "RinkanKnight" #property link "https://www.mql5.com" #property version "1.00" #property strict #property script_show_inputs extern int TakeProfit = 10; //not necessary as this is a part of my EA this is here only extern int StopLoss = 20;//not necessary as this is a part of my EA this is here only extern double lots =1 ;//not necessary as this is a part of my EA this is here only void OnStart() { Alert("script started ");//to know the script started static int ticket = 0;//not necessary as this is a part of my EA this is here only double TakeProfitLevel_buy = Bid + TakeProfit*Point; //0.0001//not necessary as this is a part of my EA this is here only double StopLossLevel_buy = Bid - StopLoss*Point;//not necessary as this is a part of my EA this is here only double middlebb=iBands(Symbol(),5,20,2,0,PRICE_CLOSE,MODE_MAIN,0); //middle bb double ma_ten = iMA(Symbol(),5,10,0,MODE_EMA,PRICE_CLOSE,0); // moving avg 10 double ma_fifty = iMA(Symbol(),5,50,0,MODE_EMA,PRICE_CLOSE,0); //moving avg 50 double sar = iSAR(Symbol(),5,0.02,0.2,0); // parabloic sar double red = iStochastic(Symbol(),5,5,3,3,MODE_EMA,0,MODE_SIGNAL,0); // stochatic signal line double blue = iStochastic(Symbol(),5,5,3,3,MODE_EMA,0,MODE_MAIN,0); // main stochatic line double macd =iMACD(Symbol(),5,12,26,9,PRICE_CLOSE,MODE_MAIN,0); // macd main double rsi = iRSI(Symbol(),5,14,PRICE_CLOSE,0); //relative strength index /* Alert("the ckising price is ", Close[0] Alert("the bb is ", middlebb ); Alert("the ma10 price is ", ma_ten ); Alert("the ma50e is ", ma_fifty ); Alert("the macd is ", macd ); Alert("the sar is ", sar ); Alert("the rsi is ", rsi ); Alert("the red signL is ", red ); Alert("the blue value is ", blue ); */ if ( middlebb <Close[0] && ma_ten < Close[0] && ma_fifty < Close[0] && sar < Close[0] && blue > red && macd >0 && rsi >50 ) //checking condition for buy { Alert("buy"); } else if( middlebb > Close[0] && ma_ten > Close[0] && ma_fifty > Close[0] && sar > Close[0] && blue < red && macd < 0 && rsi < 50 ) { Alert("sell "); } else { Alert ("condition are not matching do not buy "); } }
![JohnBollinger_Ovrl](https://c.mql5.com/i/code/expert.png)
EA based on parameters of the BOOK of John Bollinger with Lot size calculator and position overlaping.
![Export Summary Grouped by Symbols (MT4)](https://c.mql5.com/i/code/script.png)
The script exports summary of closed trades grouped by each currency pair to .csv file
![Math Utils (MT4)](https://c.mql5.com/i/code/library.png)
Handy functions for comparison, rounding, formatting and debugging of doubles (prices, lots and money).
![Adaptive Moving Average - AMA](https://c.mql5.com/i/code/indicator.png)
Adaptive Moving Average - AMA