• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 8:21pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 8:21pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Need to convert mt4 Indicators into Ctrader, Please Help 2 replies

convert tradingview indicator to mt4 indicator 20 replies

need someone who can convert a mt4 indicator to jforex 5 replies

Convert Metastock code to MT4 indicator 0 replies

Convert MT4 indicator to Ninjatrader 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 7
Attachments: convert MT4 indicator to CTrader
Exit Attachments
Tags: convert MT4 indicator to CTrader
Cancel

convert MT4 indicator to CTrader

  • Post #1
  • Quote
  • First Post: Feb 5, 2020 9:35am Feb 5, 2020 9:35am
  •  Suran
  • | Joined Mar 2018 | Status: Member | 700 Posts
Hi can anybody help me to convert this mt4 moving average fill indicator to ctrader.

I found how to convert to source code to C but do not know how to convert it to a ctrader indicator.

much appreciated
Attached File(s)
File Type: ex4 MA ribbon filled 2 x 14.ex4   3 KB | 139 downloads
File Type: mq4 MA ribbon filled 2 x 14.mq4   2 KB | 180 downloads
Focus, Patience, Discipline, Determination and Perseverance
  • Post #2
  • Quote
  • Feb 5, 2020 11:04am Feb 5, 2020 11:04am
  •  sangnt0904
  • | Joined Sep 2019 | Status: Share my knowledge | 154 Posts
Hello Suran!
I hope this video helps you!
I am a big fan of PASR.

Sang,
Attached File(s)
File Type: mp4 MAribbon_Indicator.mp4   4.3 MB | 588 downloads
 
 
  • Post #3
  • Quote
  • Feb 5, 2020 3:03pm Feb 5, 2020 3:03pm
  •  value_
  • | Joined Aug 2009 | Status: Member | 71 Posts
I don't know if that helps, but take a look at this:

http://2calgo.com/
 
 
  • Post #4
  • Quote
  • Feb 6, 2020 10:26am Feb 6, 2020 10:26am
  •  Suran
  • | Joined Mar 2018 | Status: Member | 700 Posts
Quoting sangnt0904
Disliked
Hello Suran! I hope this video helps you! I am a big fan of PASR. Sang, {file}
Ignored

Thanks a lot mate. much appreciated
Focus, Patience, Discipline, Determination and Perseverance
 
 
  • Post #5
  • Quote
  • Feb 6, 2020 10:09pm Feb 6, 2020 10:09pm
  •  sangnt0904
  • | Joined Sep 2019 | Status: Share my knowledge | 154 Posts
Quoting Suran
Disliked
{quote} Thanks a lot mate. much appreciated
Ignored
Not at all! If you still have any problems sending me messages, I would love to help others.
Sang,
 
 
  • Post #6
  • Quote
  • Feb 7, 2020 4:37am Feb 7, 2020 4:37am
  •  Suran
  • | Joined Mar 2018 | Status: Member | 700 Posts
Quoting value_
Disliked
I don't know if that helps, but take a look at this: http://2calgo.com/
Ignored
I went through this. its doing half the job.thanks
Focus, Patience, Discipline, Determination and Perseverance
 
 
  • Post #7
  • Quote
  • Feb 9, 2020 4:34am Feb 9, 2020 4:34am
  •  equa
  • | Joined Jan 2020 | Status: Member | 12 Posts
Hi
Good work!
Looks like we're getting there, but not quite that clean, mean look in MT4 yet.

I noticed that in the recent update to Ctrader 3.7 that there are new programming features that may allow proper coding of the Strat Shadow. There are a few new MA indicators on the Ctrader site already. Hopefully it won't be long now.

I'll test some of them over the coming days and see if there are any that can be modified by the makers into a proper Strat Shadow. Stay tuned.

Cheers
 
 
  • Post #8
  • Quote
  • Edited Feb 10, 2020 2:18am Feb 9, 2020 4:55pm | Edited Feb 10, 2020 2:18am
  •  equa
  • | Joined Jan 2020 | Status: Member | 12 Posts
Hi
This is the GMMA (or GuppY) indicator from Ctrader/indicators. The Guppy is only the light coloured ema's inbetween the standard 20, 72, and 200 emas built-in to the Ctrader platform.

download link
https://ctrader.com/algos/indicators/show/678

Attached Image (click to enlarge)
Click to Enlarge

Name: Image1.png
Size: 77 KB


Not great but it's a start and better than nothing imo
 
 
  • Post #9
  • Quote
  • Feb 9, 2020 7:33pm Feb 9, 2020 7:33pm
  •  equa
  • | Joined Jan 2020 | Status: Member | 12 Posts
Now with up/down colouring on the 72 ema and a better ema ribbon for the filling lines

Attached Image (click to enlarge)
Click to Enlarge

Name: Image1.png
Size: 61 KB


Still not great but it'll have to do for now

link ema
https://ctrader.com/algos/indicators/show/2114

link ema ribbon
https://ctrader.com/algos/indicators/show/28
 
 
  • Post #10
  • Quote
  • May 27, 2020 6:54am May 27, 2020 6:54am
  •  iman45
  • | Joined May 2020 | Status: Member | 10 Posts
https://ct.icmarkets.com/copy/strategy/8032
 
 
  • Post #11
  • Quote
  • Jul 2, 2020 10:56pm Jul 2, 2020 10:56pm
  •  iyan.srvc
  • | Joined Jan 2019 | Status: Member | 4 Posts
Hi mr.Suran,
i'm also looking for someone who can help convert the MQ4 indicator to cTrader.
i try convert indicator Davit pivot v3.2 to Calgo online from here :
http://mq4tocalgo.apphb.com
and Result get 9 errors,
===============================================
mybe errors this block :

if (brokercandle == true)
{
ObjectDelete("Start");
ObjectDelete("End");
switch (swaptf)
{
case 1:
chose_tf = PERIOD_M1;
break;
case 2:
chose_tf = PERIOD_W1;
break;
case 3:
chose_tf = PERIOD_D1;
break;
}
wclose = iClose(Symbol.Code, chose_tf, 1);
wopen = iClose(Symbol.Code, chose_tf, 1);
whigh = iHigh(Symbol.Code, chose_tf, 1);
wlow = iLow(Symbol.Code, chose_tf, 1);
}
else if (brokercandle == false)
{
ObjectDelete("Start");
ObjectDelete("End");
BarShft_Start = iBarShift(Symbol.Code, PERIOD_H1, weekOpen);
BarShft_End = iBarShift(Symbol.Code, PERIOD_H1, weekClose);
wopen = iOpen(Symbol.Code, PERIOD_H1, BarShft_Start);
wclose = iClose(Symbol.Code, PERIOD_H1, BarShft_End);
HighBar = iHighest(Symbol.Code, PERIOD_H1, MODE_HIGH, BarShft_Start - BarShft_End + 1, BarShft_End);
LowBar = iLowest(Symbol.Code, PERIOD_H1, MODE_LOW, BarShft_Start - BarShft_End + 1, BarShft_End);
whigh = iHigh(Symbol.Code, PERIOD_H1, HighBar);
wlow = iLow(Symbol.Code, PERIOD_H1, LowBar);

if (BarShft_Start < BarShft_End)
{
Alert("Error - Start time must be less than End time!");
}
if (StartEndLines == true)
{
ObjectCreate(0, "Start", OBJ_VLINE, 0, weekOpen, 0);
ObjectSetInteger(0, "Start", OBJPROP_COLOR, clrLimeGreen);
ObjectSetInteger(0, "Start", OBJPROP_WIDTH, 0);
ObjectSetInteger(0, "Start", OBJPROP_STYLE, 2);

ObjectCreate(0, "End", OBJ_VLINE, 0, weekClose, 0);
ObjectSetInteger(0, "End", OBJPROP_COLOR, clrTomato);
ObjectSetInteger(0, "End", OBJPROP_WIDTH, 0);
ObjectSetInteger(0, "End", OBJPROP_STYLE, 2);
}

[Parameter("comment1", DefaultValue = "Choose the TF ")]
public string comment1_parameter { get; set; }
bool _comment1Got;
Mq4String comment1_backfield;
Mq4String comment1
{
get
{
if (!_comment1Got)
comment1_backfield = comment1_parameter;
return comment1_backfield;
}
set { comment1_backfield = value; }
}

[Parameter("comment2", DefaultValue = "Choose Pivot Method ")]
public string comment2_parameter { get; set; }
bool _comment2Got;
Mq4String comment2_backfield;
Mq4String comment2
{
get
{
if (!_comment2Got)
comment2_backfield = comment2_parameter;
return comment2_backfield;
}
set { comment2_backfield = value; }
}


============================================

enum TFOfPivot
{
M1 = 1,
W1 = 2,
D1 = 3
}

input TFOfPivotSwaptf = 2;


enum PivotMethod
{
HLC = 1,
HLCC = 2,
HLOC = 3,
HLOO = 4,
HLO = 5
}

input PivotMethod = 1;



Error CS1519: Invalid token '=' in class, struct, or interface member declaration

can any body fix this error ?
============================================
 
 
  • Post #12
  • Quote
  • Dec 16, 2020 6:27pm Dec 16, 2020 6:27pm
  •  yannick.033
  • | Joined Dec 2020 | Status: Junior Member | 1 Post
can someone make this an c trader indicator. thanks in advance.
Attached File(s)
File Type: ex4 QualitativeQuantitativeEstimation exit.ex4   14 KB | 51 downloads
File Type: mq4 QualitativeQuantitativeEstimation exit.mq4   4 KB | 77 downloads
 
 
  • Post #13
  • Quote
  • Last Post: Dec 27, 2020 8:31am Dec 27, 2020 8:31am
  •  Suran
  • | Joined Mar 2018 | Status: Member | 700 Posts
Quoting equa
Disliked
Now with up/down colouring on the 72 ema and a better ema ribbon for the filling lines {image} Still not great but it'll have to do for now link ema https://ctrader.com/algos/indicators/show/2114 link ema ribbon https://ctrader.com/algos/indicators/show/28
Ignored
Hey mate, sorry for late reply. I didn't look in to this thread much lately. Did you found a way to create a proper strat shadow?
Focus, Patience, Discipline, Determination and Perseverance
 
 
  • Platform Tech
  • /
  • convert MT4 indicator to CTrader
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023