Coding help - page 772

Mladen Rakic
105840
Mladen Rakic  
Glax:

Hi,

Please can anyone tell me how to fix this error.

I am trying to compile a script from trading view on MetaEditor.


 

Thank you :D

You can not compile that code in metatrader (try compiling metatrader code on that trading platform and see what happens there - different coding languages and different trading platforms not compatible at all)

Use metatrader code

palepalepale
48
palepalepale  

Coding help needed!!!


CODE that calculates the profit of the last x orders (for example last 10,50), the thing is that it has to calculate between profit of open orders and some closed orders too.

Is there a "short way" to retrieve this information or I have to do all the

1)see if I have open orders

2)calculate profit on those

3)calculate profit on the diference of the x number of orders Im calculating (for example if it were the last 10, and calculated the 2 open orders, then calculate profit on the remaining 8 in history and filtering the deleted orders)


TYVM, I just started to study like a couple of months ago and I already have +500 lines of code!!!!! this is awesome!!!

kainiteh
12
kainiteh  

Hi,

Can anyone make ribbon for Fx Sniper with option of choosing other time frame?
Fixed Attributes: MAType=3,MAshift=0,Pricetype=6

Changable Attribute: MAperiod between 1 to 200

Required: 3 ribbons able to choose different MA length (for 5m or 10m or 60m)

Can anyone help me on this, please.

It works nicely in ou market but need to switch between chart of different time frame for holding or exit

Ribbon shows all status in one window,

Cheers and thanks in advance

rRequirment

Alain Verleyen
36050
Alain Verleyen  
kainiteh:
...

Please don't double post. I removed your other one.

fairuzajan
8
fairuzajan  

Hi, I'm a new member of this forum.

Please, can anyone help me to add a sound alert when the arrow indicator appears and add push notification to my mobile?. Really appreciate if someone could help me with this.

Platform Settings - Getting Started - MetaTrader 5
Platform Settings - Getting Started - MetaTrader 5
  • www.metatrader5.com
The trading platform provides multiple settings to help you conveniently customize it. Click " Options" in the Tools menu or press "Ctrl+O". Charts — common settings of price charts and parameters of objects management: object selection straight after creation, immediate object configuration, and docking parameters; Trade — default parameters...
Eleni Anna Branou
Moderator
6586
Eleni Anna Branou  
fairuzajan:

Hi, I'm a new member of this forum.

Please, can anyone help me to add a sound alert when the arrow indicator appears and add push notification to my mobile?. Really appreciate if someone could help me with this.

Don't triple post!

amoc.fx
6
amoc.fx  
hello house, i would be very grateful if anyone can help me with an EA for awesome oscillator to buy at the close of the first bar when value of AO goes above 0 and close previous short of same pair at the opening of the first bar when value of AO goes above 0 ...thanks for your consideration..pls find attached image to assist your decision, if you need further clarification pls let me know.thanks
Files:
show.PNG 9 kb
Mladen Rakic
105840
Mladen Rakic  
amoc.fx:
hello house, i would be very grateful if anyone can help me with an EA for awesome oscillator to buy at the close of the first bar when value of AO goes above 0 and close previous short of same pair at the opening of the first bar when value of AO goes above 0 ...thanks for your consideration..pls find attached image to assist your decision, if you need further clarification pls let me know.thanks
Use an ea that uses crosses of sma(5) and sma(34) (median [price) for that


Keith Watford
Moderator
13967
Keith Watford  
amoc.fx:
hello house, i would be very grateful if anyone can help me with an EA for awesome oscillator to buy at the close of the first bar when value of AO goes above 0 and close previous short of same pair at the opening of the first bar when value of AO goes above 0 ...thanks for your consideration..pls find attached image to assist your decision, if you need further clarification pls let me know.thanks

Do not double post. I have deleted the topic that you started as you have had a reply here.

shehanmm
6
shehanmm  
Hi guys,

 I need urgent help from you all for a problem regarding a technical indicator. I need to know how is the arrow appears in fractal indicator. I mean I need an alert when a fractal arrow appears. I use this fractal indicator(attached below) in which you can select the period where you cannot do so with the in-built indicator in mt4. Please help me.

I studied on this indicator code but I'm unable to find how can it be done. Which array value should I use? (FractalsUp[],FractalsDown[])
Files: