KISS like McGrath

Status
Not open for further replies.

winstonn

Well-Known Member
Thanks Sikandar for the AFl but as it is can't be used for scanning and exploration

Hi Winstonn line 41 should be BullWColor=ParamColor("Bullish wave colour", colorBrightGreen) ;

After the correction I get only candle stick price chart. Please correct the AFL and see if you get any signals, guides, plots? and also how ROC and MA can be used.


Thanks & Regards
ken
tried, but same results as u got!

neways.........thanxs a lot kenneth:)
 

kenneth

Well-Known Member
tried, but same results as u got!

neways.........thanxs a lot kenneth:)
Try Try and you will succeed. Have a look at this



Test for a WolfeWave Bullish setup

\ 2 + EPA
\ Peak A is P2 / |
\ /\ 4 / |
\ / \ Peak C is P1 / |
\ / \ /\ / |
\ / \ / \ / |
\/ \ / \ / |
Trough X is T2 \ / \ / |
1 \ / \ / |
\/ \ / |
Trough B is T1 \/ |
3 5-D ETA
* Lines
* 1 - 4 = EPA
* 2 - 4 +
* 1 - 3 = ETA convergence
*/
if(BearPlot)
{
// are the peaks and troughs in the correct timewise order?
PTValid = (T1Idx[Bar] > P1Idx[Bar]) AND (P1Idx[Bar] > T2Idx[Bar])
AND (T2Idx[Bar] > P2Idx[Bar]);

// are the peaks and troughs hi's and lo's correct relatively?
HLValid = (P1[Bar] > P2[Bar]) AND (T1[Bar] > T2[Bar]) AND (T1
[Bar] < P1[Bar]);
Is there anything wrong in the code to identify PT and HL?
I think (P1Idx[Bar] < T2Idx[Bar])
and (P1[Bar] < P2[Bar]) AND (T1[Bar] < T2[Bar])
The end results should look like the attached graph

Regards
Ken
 
Last edited:

kenneth

Well-Known Member
Code:
/* Test for a WolfeWave Bullish setup
 *
 *          \           2                              + EPA
 *           \     Peak A is P2                       /   |
 *            \        /\             4              /    |
 *             \      /  \       Peak C is P1       /     |
 *              \    /    \          /\            /      |
 *               \  /      \        /  \          /       |
 *                \/        \      /    \        /        |
 *         Trough X is T2    \    /      \      /         |
 *                1           \  /        \    /          |
 *                             \/          \  /           |
 *                       Trough B is T1     \/            |
 *                              3           5-D          ETA
 * Lines
 * 1 - 4 = EPA
 * 2 - 4 +
 * 1 - 3 = ETA convergence
Could not edit the post

Regards
ken
 
Last edited:

winstonn

Well-Known Member
hi kenneth,

i am not a AFL programmer , i am zero at it.
i just corrected the wrong spellings in the ww afl.

could u post the entire detail modified wolfe AFL!
 

kenneth

Well-Known Member
hi kenneth,

i am not a AFL programmer , i am zero at it.
i just corrected the wrong spellings in the ww afl.

could u post the entire detail modified wolfe AFL!

Neither I am. After I made the changes and changed the parameters to Yes on signal, guide and plot, the plot disappears due to error 10. AFL attached

Image posted was downloaded long back

Regards
Ken
 
Last edited:

kenneth

Well-Known Member
http://amibrokerfan.com/index.php?option=com_smf&Itemid=28&topic=405.0

>>>
This issue relates directly to the inconsistencies within AB.
You probably have:
'Menu->Tools->Charting->Blank Bars In Right Margin'
set to something other than zero.

Unfortunately one can't issue a GetOption() call to acquire this value from
AFL to adjust the code dynamically.

The 3 in this line: lastbar = Status("lastvisiblebarindex")- 3;
is the right margin compensation value.
So by adjusting both values to agree the variable 'Bar' counter will not run
beyond the end of the data array which is the cause of subscript error.
<<<
This sloves the problem.

Regards
Ken
 
Neither I am. After I made the changes and changed the parameters to Yes on signal, guide and plot, the plot disappears due to error 10. AFL attached

Image posted was downloaded long back

Regards
Ken
Hi ken
Thanks for all your hard work.
ww afl totaly not going to be very useful.
Ken and winstonn In your view is it has any usefulness?
 

Ajax

Well-Known Member


Lots of profits to be made today
Only shorts by PIVOT TREND TRADE today (level 1)

Longs very much possible by level 2 methods
(Swift impulse moves are mouth watering)
(Mentioned in charts & elsewhere)

Not mentioning figures :risehat::cool:
 

kenneth

Well-Known Member
Hi Sikandar

The Wolfe Wave AFL will plot the lines as shown in the attached graph. I don't know if it useful when trading realtime as I have not used it. Trend lines drawn manually gives a better picture and I have found them to be very useful in Trading. Probably Ajax and Winston will be able to guide.

Ajax yes at the end of the day I too feel lots of money could have been made but .......I don't know how many of us made today ...

Regards
Ken
 
Last edited:
Status
Not open for further replies.

Similar threads