PLEASE HELP CODE THE INDICATOR

cfanfx
Trader
Posts: 10
Joined: Sun Feb 12, 2017 9:14 pm

PLEASE HELP CODE THE INDICATOR

Post by cfanfx »

Bruster400 » Tue Aug 29, 2017 10:58 am wrote:version 1.1 attached.

This version has the following changes:

- converted to pips and factor using Tommaso's GetPipFactor (Thanks!) - This allows the use of 4 digit brokers for those that do!
- included the use of "MajorLineDecimal" to manually override the auto calculation of major line placement
- corrected the hesitation lines to +/-50pips rather than half way.

The original version was coded for 5 digit brokers only (and said so in the notes at the top of the code). This new version should work on all. I've also added a new input "MajorLineDecimal" which allows you to override the automatic calculation of the initial Major lines. This is because it's not always clear where the "major" line should go depending on the decimals and digits of the price. If the lines are not where you wanted them then play with this number between 1-10 until they are. Zero leaves it on automatic.

That should do it.

Bruster.


yes this indicator is awesome.... just a little help needed ...please

1) on 4 digit broker , 10 pips is seen and calculated as 1 pips

2) the indicator is no well calibrated on JPY crosses , XAUUSD , XAGUSD , CRUDE OIL....

thanks ....
Bruster400
Trader
Posts: 192
Joined: Tue Sep 24, 2013 3:19 pm

PLEASE HELP CODE THE INDICATOR

Post by Bruster400 »

This indi seems to work on 5 digit brokers and I don't have a 4 digit broker to test it on so making corrections isn't easy. However, a simple fix is to allow you to be able to adjust the digit and decimal values manually in the inputs.

So try this version (1.2) and do the following.

- drop it onto your chart
- check if the first Major Line below price is at the correct level
- if not, use "MajorLineDecimal" to get it right
- Then use the "AdjustmentFactor" input to correct the rest of the lines as required.
- The default of 1 on "AdjustmentFactor" is do nothing, then try 10, then 100 etc.

That should work but as I say, I don't have a 4 digit broker to test it on.

Bruster400
You do not have the required permissions to view the files attached to this post.
cfanfx
Trader
Posts: 10
Joined: Sun Feb 12, 2017 9:14 pm

PLEASE HELP CODE THE INDICATOR

Post by cfanfx »

Bruster400 » Thu Aug 31, 2017 9:37 am wrote:This indi seems to work on 5 digit brokers and I don't have a 4 digit broker to test it on so making corrections isn't easy. However, a simple fix is to allow you to be able to adjust the digit and decimal values manually in the inputs.

So try this version (1.2) and do the following.

- drop it onto your chart
- check if the first Major Line below price is at the correct level
- if not, use "MajorLineDecimal" to get it right
- Then use the "AdjustmentFactor" input to correct the rest of the lines as required.
- The default of 1 on "AdjustmentFactor" is do nothing, then try 10, then 100 etc.

That should work but as I say, I don't have a 4 digit broker to test it on.

Bruster400


thanks i will check up and give a feed back .... God bless you richly sir
cfanfx
Trader
Posts: 10
Joined: Sun Feb 12, 2017 9:14 pm

PLEASE HELP CODE THE INDICATOR

Post by cfanfx »

Bruster400 » Thu Aug 31, 2017 9:37 am wrote:This indi seems to work on 5 digit brokers and I don't have a 4 digit broker to test it on so making corrections isn't easy. However, a simple fix is to allow you to be able to adjust the digit and decimal values manually in the inputs.

So try this version (1.2) and do the following.

- drop it onto your chart
- check if the first Major Line below price is at the correct level
- if not, use "MajorLineDecimal" to get it right
- Then use the "AdjustmentFactor" input to correct the rest of the lines as required.
- The default of 1 on "AdjustmentFactor" is do nothing, then try 10, then 100 etc.

That should work but as I say, I don't have a 4 digit broker to test it on.

Bruster400

please sir..... good morning .... please i need your help this time .... can you help modify the indicator to accommodate adjustment factor of 0.1 , 0.01, 0.001......

an attempt to run it on bitcoin and some other cryptos was not successful as adjustment factor with minimum of 1 won't display lines well
adjustment_1.png
above is the attachment sir .... thanks for your support once again sir......
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

PLEASE HELP CODE THE INDICATOR

Post by SteveHopwood »

I have locked this thread.

cfanfx, SHF is a Forex trading forum. Something here does not work with non-Forex stuff? I do not care. Pay someone to develop code for you that does work and stop free-loading here.

Your cards are marked fella; your continued membership is in danger. Your best interests are served by staying quiet.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Locked

Return to “Coders Hangout”