- Search Crypto Craft
- 1,196 Results (1,195 Replies , 1 Comment )
- 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 ...
- BlueRain replied Mar 14, 2024
You are 100% correct. He was asking in general term - and that is why I said "if just closing "Input" dialog and it goes back to default, I am not sure what that is. something is wrong with that indicator."
- BlueRain replied Mar 14, 2024
BlueRain please is there anyway you can help me with this stuff i have posted before but no response and i have seen some dashboards you have done in the past and because you are always busy you may not be able to attend to my request in time but i ...
- BlueRain replied Mar 14, 2024
Each time when an indicator starts - by loading or switching to another chart time frame - it will go through OnInit() process and start over. if you change any options, changes remains in memory and it will get wiped out if you close indicator. if ...
- BlueRain replied Mar 14, 2024
Any coder who program has to use built-in API/Functions/ etc that platform supports. If not, there will be a lot of extra work as those has to be created/programmed outside of native support. Arrows are supported natively so that you just create ...
- BlueRain replied Mar 14, 2024
Not sure if this is exact copy but I found it Github that I have been using.
- BlueRain replied Mar 9, 2024
try this script.. more likely it has more feature than you need. url
- BlueRain replied Mar 3, 2024
Condition to display marker line is based on two recent candles. it has to be "Bull" + "Bull" or "Bear" + "Bear" You H1 doesn't meet the condition. Also, you may try "BestTraderEv" version - it seems it has more features.
- BlueRain replied Mar 3, 2024
if Previous candle was Bull and Current candle is bull and if moved min of 5 pip, entry line will show up. So, you will see normal candle first without lines. It is like "Alert" line if it shows up. - that it has reached your min entry point and ...
- BlueRain replied Mar 2, 2024
Try this one. first line is your initial pip entry line and 2nd line is current line with pip moved from close of last candle close. First line will show up when initial target pip reached and stay there. 2nd line is moving line.