- Search Forex Factory
- 1,205 Results (1,204 Replies, 1 Comments)
- BlueRain replied Sep 19, 2024
Fixed bug on how it find High & Low. Try out.
- BlueRain replied Sep 19, 2024
maybe, I misunderstood of your request. I understood you request as "2 quarters High and Low" (6 months period including Prev Qtr and Prev2 Qtr ) Should I change to just Prev2 ( quarter High and Low? ( 3 months period ) c.pQrtLow: This is Previous 2 ...
- BlueRain replied Sep 19, 2024
Try this one. I have added screen output of time and value output option also. Update: Bug found and fixed on Qtrly_Cam. Please download latest.
- BlueRain replied Sep 16, 2024
Here, updated version - it will use next month candle if you select custom period. On previous version, I didn't include that as period would be any period, not quarterly. Try out.
- BlueRain replied Sep 15, 2024
Made a bit of change. Try out and let me know if not working. Please note that this only impact cmt output, not actual Pivot Lines as Pivot Lines use H,L, and C prices only. Minor change made on latest upload.
- BlueRain replied Sep 15, 2024
Try this one. I have added option extern bool UseOpenPriceOfNextQter = true; and when it is set, it will use open price of next qter. if ( UseOpenPriceOfNextQter == true) { if ( fromDT - 4 >=0 ) //find new qter open price O = ...
- BlueRain replied Jul 28, 2024
It can be done, applying same process as I have indicated in other post. Basically, 1. Open Chart 2. Add RSI 3. Save template with your own name 4. Open Template with text editor and modify by moving RSI section to main windows between <Window> and ...
- BlueRain replied May 22, 2024
Few possible reasons: 1. It is not compiled - if you closed MT4 terminal and start again, it should be compiled automatically 2. Error in the code itself - if your indicator has error and can't be compiled, you should fix first. 3. Dependency issue ...
- BlueRain replied Apr 23, 2024
You can't declare array and set its size with non-constant variables. See this on how to solve this : Go error: non-constant array bound - Stack Overflow initializing an array with variable length? - Trading Strategies That Work - MQL4 and ...
- BlueRain replied Apr 13, 2024
There are many way of doing this and much simpler way also. Also, you can google and there are many articles about this. Just did a quick search and this comes at top. How to find the difference between two arrays in C? - Stack Overflow Basically, ...
- BlueRain replied Apr 11, 2024
Step 1: iterate original array and filter out those to be close. CArrayString symbols; for ( int x = 0; x < ArraySize(bsym); x++) { string symbolname = bsym[x]; double BEPrice = bsymBEX[x]; double pBid = MarketInfo(symbolname,MODE_BID); double pAsk ...
- BlueRain replied Apr 11, 2024
Before you do close those symbol of interest, just copy symbol that meets your exit criteria into a temporary array first, then go over the array, and close those symbols in the copied array. You can use CArrayString here. Step 1: iterate all arrays ...
- BlueRain replied Apr 10, 2024
All you have to do is to get all orders in a loop, go over one by one , filter by symbol and ordertype and if condition met, close. you can use below as reference void CloseOrders(string symbolname, int ordertype) { int total = OrdersTotal(); for ...
- BlueRain replied Apr 10, 2024
Without full context, I have no clear idea what you are trying to do. However, I think you want to close some order if it is below or above BE. For that purpose, you can copy BreakEven price to a temp variable and use it for "Close " orders ...
- BlueRain replied Apr 8, 2024
[quote=chimoong;14822858] I have attached full - which is a script so you can take a look. CArrayString symbols; //symbols is CArrayString object variables //here, it checks all open orders and check if there is already existing symbol in symbols ...
- BlueRain replied Apr 6, 2024
I think you don't have clear understanding of CArrayString class. CArrayString - Data Collections - Standard Library - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5 Advantage of CArrayString over String array ...
- BlueRain replied Mar 19, 2024
Check if there are objects created first. Also, You might have missed WindowRedrew().
- BlueRain replied Mar 15, 2024
I added corner option. No additional button, just change in options as needed.
- BlueRain replied Mar 15, 2024
Found some bug. Please use this latest updated version.
- BlueRain replied Mar 14, 2024
When you drop Moving Average Indicator into Subwindow, you can change "Apply To" -> Select "First Indicator's Data" or "Previous Indicator's data" That will set Moving Average to read data from existing indicator in the subwindow and show Moving ...