[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 250
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Mm-hmm. It's elementary. But it doesn't work.
You can argue, but so many people have said it's bullshit and in the end nothing ((
Here you go:
Here you go:
incompatible types error
Dear granit77! If you don't mind, please make corrections directly in the code, if anything is wrong. It will be clear and understandable.
If there are not enough indicator buffers, the calculations can be performed in conventional arrays.
Example. Seven out of eight indicator buffers are used to display lines in the indicator window, the eighth buffer is used for calculations, but it won't be displayed in the indicator window.
If there are not enough indicator buffers, the calculations can be done in normal arrays.
Thank you! That's understandable.
I do not understand another one. I do not know why the array that takes part in the calculations, but is not displayed in the indicator window, should be identified as the SetIndexBuffer. And if we need 10 arrays for calculations and 8 for displaying (18 arrays in total), how to declare and identify these 10 correctly? I want them to have the same properties, as the arrays attached to the indicator buffers, except they are not drawn.
You don't have to rename it if it doesn't work. Which is odd. You can open it from the context menu by selecting WinRar. Or open WinRar, then from the "File" menu item "Open Archive" find the archive and open it.
I said above that the extension is needed only for automatic association of the file.
Have you enabled extension visibility? Screenshot or video here if it doesn't work.
Thanks for the detailed instructions. I did download this WinRar, apparently it wasn't there and the archive opened!
UB //Loss
Pk //Variable taking buy values
Pr //Variable taking values of sale
ADR //Variable taking values of the script
//Profit condition
if(PR==Pk) //If profit on purchase
ADR=1; //Set script 1
else //If profit on sale
ADR=2; //Set script 2
//Selling condition
if(UB==Pk) //If a loss on buying
ADR=2; //set script 2
else //If a loss on sale
ADR=1; //Set script 1
How do I improve this for trading? I need an EA to monitor which order closed (buy or sell), and how it closed at profit or loss. After such analysis the EA will execute 1 or 2 scripts.
I do not see this function working, you know. True, the ticks don't occur now, but at least the start should work when connecting to the chart, right? Well, at least it compiles!!! Trying this
There are no ticks. The start is not triggered. Can be compiled as a script. But you will have to specify the descriptor of the adjacent chart, which will be updated.
Or like this:
But it probably won't work for you. It seems that the ServiceRefreshChart () function is not available for everybody.
You can try it in the indicator. It refreshes 2 times when it joins the chart and changes TF.