Jo han:
https://www.mql5.com/en/job
Hi!
Anyone who could convert this ProRealTime code snippet to mt4?
DEFPARAM CumulateOrders = False
Indicator1 =
CCI[20](typicalPrice)
ATR = AverageTrueRange[20](close)
BuyOrder
= (Indicator1 CROSSES OVER 0)
IF BuyOrder THEN
BUY
1 CONTRACT AT MARKET
SL = ATR *1
TP
= ATR *2
ENDIF
SellOrder = (Indicator1
CROSSES UNDER 0)
IF SellOrder THEN
SellShort
1 CONTRACT AT MARKET
SL = ATR *1
TP
= ATR *2
ENDIF
SET STOP
LOSS SL
SET TARGET PROFIT TP
Best Regards,
Johan
Trading applications for MetaTrader 5 to order
- www.mql5.com
I have a PVT MTF indicator without source code. I use it on a range bar chart, i would like to have alerts once the green line cross the red line after the range bar candle closes. Can you code an EA from Tradingview's Pinescript? I have an indicator I would like...
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
Hi!
Anyone who could convert this ProRealTime code snippet to mt4?
DEFPARAM CumulateOrders = False
Indicator1 = CCI[20](typicalPrice)
ATR = AverageTrueRange[20](close)
BuyOrder = (Indicator1 CROSSES OVER 0)
IF BuyOrder THEN
BUY 1 CONTRACT AT MARKET
SL = ATR *1
TP = ATR *2
ENDIF
SellOrder = (Indicator1 CROSSES UNDER 0)
IF SellOrder THEN
SellShort 1 CONTRACT AT MARKET
SL = ATR *1
TP = ATR *2
ENDIF
SET STOP LOSS SL
SET TARGET PROFIT TP
Best Regards,
Johan