FREE FOREX STRATEGIES

Scalping system #11 (The Center of Gravity)


Submitted by Ashur

Alright first of all, I just want to say the indicators that i'm going to post and show are not mine so i take no credit for them. The center of gravity indicator was created by Oan. The idea is based on Mostafa Belkhayate's system. Also the sweet spots indicator was taken from "Patrick Bourgeois" with his submission of "Trading by Psychological Levels". So I'm going to upload all the indicators, and all you do is, put them in Metatrader/Experts/Indicators folder. Im also going to upload the template so all you have to do is load the template.

The rules are these:


Read entire post >>>


 


hi again, i forgot to tell. im not using the sweet spot indicator, just the cog indicator

Hans

hi, here is the code: CenterOfGravity_1.mq4

there are two functions that needs modification:
bool CheckIndicatorForClose(int OrderTypeP) and int CheckIndicatorForOpen()

if you want to create the EA in another way, just copy the function void CenterOfCGravity() that calculates the 5 arrays. The arrays are defined as Global variables

Thanks!
kind regards Hans

Hans, it looks like you just need to set the stoploss to beyond the number of sweet spots you want to allow new trades to be opened and also set a max number of sweet spots off the center that allows a trade to open

or maybe don't worry about the sweetspot indicator and just figure a pip offset from the center ...

i would like to see the code - have you tried working with the gravity_center2.mq4 yet ?

maybe i should look at that one -
if i could see your code it would help me fix the version 2

with the gravity 2 i am not using the sweetspot indicator i am just looking at the lines drawn by the gc2 indicator

Hi, there are some challenges developing this strategy into an Expert Advisor. See links for example.
The entry signal used by the EA is very easy go long/short when price hits the 1st sweet spot indicator and on the direction on the trend.
Any suggestions hot to avoid this ?

kind regards
Hans

Hi, im trying to implement this strategy into an Expert Advisor with the possibility to run backtest. So far the backtests did not make any promising results.
I have changed the function that calculates the 5 gravity lines, so that is can easily be used in any expert advisor to trade 100% automatically. Attached is a script with the function. The gravity lines are stored into 5 array variables.

Note! when using this strategy in an EA, the EA does not paint the indicator on the chart.
When I have something that works I will post the EA

Kind regards
Hans

Please add a link to your uploaded file.
Thank you.

Thomas

Hi Ashur,

I have loaded your template and all I get is the attached. No indicators what am I doing wrong. I have added the scripts which are loaded.

Joshua,

The files inside aren't empty. Could be that you simply misplaced them.
Please review How to add indicators to MT4

Thomas

Hello,
I am not a coder. I downloaded the files that you posted but it was blank on my meta trader 4. Please help
Joshua

mr ashur,

i would appreciate it very much of your comment of my previous method... that mean, i trade the range of red lines and blue lines.....thanking you in advance..

Barry

yes, but sometimes the price does not reach the red line, difficult to decide the entry price, but i noticed the winning rate is very high....i appreciate your comment on the above way...

barry

Price seldom hits the red line, but I also noticed that it bounces well from it.
Should be a nice way to trade. Did you actually mean to use it alone, just trade the red line bounce?

hi ashuk,

i tried your system, and i sell/buy when price reaches the 2nd tier of price (below red lines) what do you think of this move?

thanks

Barry

hi ashuk,

after trying your system for 2 weeks my finding is when price reaches the highest/lowest lines (red) it will retrace immediately. does my comment make sense? do you think we can use this method in our trading? i am trading on USD/JPY

regards

Barry

Thank you Edwards for your answer.
I'll try your suggestion and the new indicator.

Regards,

Anton


 

Post new comment

CAPTCHA
We read every comment. Proceed if you're a human: