velocity collapse we need a ratio here to see the power of the collapse
please kindly see the pic here under
The System Behind the System, by Merlin Jeffries 16 replies
Progress - The System (Version 2) 16 replies
200 Ema system - help me build a system ! 19 replies
Knife system, Vegas 4h system related questions. 4 replies
Would you trade this system? New system #2. 10 replies
Dislikedsimple rule to test with progress
BUY
tma = red + cross zero + green
velocity = UP + go over zero level + strong ratio
volume = down
SELL
TMA = green + cross zero + red
Velocity = DOWN + go under zero level + strong ratio
Volume = downIgnored
BUY
tma = red + cross zero + green
velocity = UP + go over zero level + strong ratio
volume = down
// ========START AND BUY RULE FOR MY A BUY ENGINE ============
</b>
if (AndS (TMA_T_S, S_BULL, P_M15) &&
AndPS (TMA_T_S, S_RANGE, P_M15) && // slope condition
AndS (VELOCITY, S_UP, P_M15) &&
AndS (VELOCITY, S_ABOVE, P_M15) &&
SValue (VELOCITY, S_CURRENT, P_M15) - SValue (VELOCITY, S_PREVIOUS, P_M15) > 6 &&
AndS (VOLUME, S_DOWN, P_M15))
{
Set_Rule (OP_BUY, T_START, R_A, P_SIGNAL); // start
Set_Rule (OP_BUY, T_STATUS, R_A, P_SIGNAL); // buy
}
// ========START AND BUY RULE FOR MY A BUY ENGINE ============
if (AndS (TMA_T_S, S_BULL, P_M15) &&
AndPS (TMA_T_S, S_RANGE, P_M15) && // slope condition
AndS (VELOCITY, S_UP, P_M15) &&
AndS (VELOCITY, S_ABOVE, P_M15) &&
SValue (VELOCITY, S_CURRENT, P_M15) - SValue (VELOCITY, S_PREVIOUS, P_M15) > 6 &&
AndS (VOLUME, S_DOWN, P_M15))
{
Set_Rule (OP_BUY, T_START, R_A, P_SIGNAL); // start
Set_Rule (OP_BUY, T_STATUS, R_A, P_SIGNAL); // buy
}
// ========START AND SELL RULE FOR MY A SELL ENGINE ============
if (AndS (TMA_T_S, S_BEAR, P_M15) &&
AndPS (TMA_T_S, S_RANGE, P_M15) && // slope condition
AndS (VELOCITY, S_UP, P_M15) &&
AndS (VELOCITY, S_BELOW, P_M15) &&
SValue (VELOCITY, S_CURRENT, P_M15) - SValue (VELOCITY, S_PREVIOUS, P_M15) < -6 &&
AndS (VOLUME, S_DOWN, P_M15))
{
Set_Rule (OP_SELL, T_START, R_A, P_SIGNAL); // start
Set_Rule (OP_SELL, T_STATUS, R_A, P_SIGNAL); // sell
}
DislikedJurex - great stuff....
Question: in your post 218 you use "volume down ==> AndS (VOLUME, S_DOWN, P_M15)" as condition to enter for both BUY and SELL - is that correct?
CheersIgnored
It gives a SELL signal whenever we have an Extreme Spike up and fast trix down and slow trix down.
It gives a Exit SELL signal if we have :
the picture below gives an idea :
In the case of a H4 Buy signal , we watch the price between the lines , if it is in the upper part of the distance to see if my H4 Buy signal will generate a D1 Buy signal ...
1- the moving average angle (200) on the 5 minutes chart has an angle of (-2) which tells us we are in a sideway market, here we have a rest after the downside and we are waiting for a signal either to continue the down trend or to returns up....
2- Progress Indicator is giving a Sell Signal for D1 and and an exit Sell Signal for H4
3- Price are under weekly and monthly pivots, and that gives us Sell Signal for H4 and D1 in the NB10.2 system
4- Coral is down for all periods except M1 and M5 ... This is in bold : 3/60 in the panel and means we had a Down market.
5- TMA extreme system is giving us a BUY Signal for period H4
6- THV System is giving us and Exit SELL signal for H4
7- and finally Symphonie is giving a SELL signal for period D1 ...
#include "cRules.h"
// ================================================================
// J RULE
//
//=================================================================
void R_J_RULE ()
{
Set_Rule (OP_BUYSELL, T_START, R_J, P_SIGNAL); // I start the engine at any time no condition , it's a combined buy/sell no worry
Set_Rule (OP_BUYSELL, T_ILOT, R_J, P_SIGNAL, 0.2); // initial lot of 0.2 (defined in engine below but I just put it again but we can ommit it)
Set_Rule (OP_BUYSELL, T_PIPSTEP, R_J, P_SIGNAL, 10); // I do a buysell every 10 pips (defined in engine below but I just put it again but we can ommit it)
Set_Rule (OP_EXIT_SELL, T_MINPROFIT, R_J, P_SIGNAL, 100); // my minimum profit is 100 for my sell trades (defined in engine below but I just put it again but we can ommit it)
Set_Rule (OP_EXIT_BUY, T_MINPROFIT, R_J, P_SIGNAL, 100); // my minimum profit is 100 for my buy trades (defined in engine below but I just put it again but we can ommit it)
Set_Rule (OP_EXIT_SELL, T_RULE, R_J, P_SIGNAL, R_J); // I precise a rule for exiting the sell trades (defined in engine below but I just put it again but we can ommit it)
Set_Rule (OP_EXIT_BUY, T_RULE, R_J, P_SIGNAL, R_J); // I precise a rule for exiting the buy trades (defined in engine below but I just put it again but we can ommit it)
if (AndR (OP_BUY, T_STATUS, R_Q) || AndR(OP_SELL, T_STATUS, R_Q) || // Here it is the rule that tells us that we have a down or up orientation (we can see it in the panel indicator whenever we have a pink or green rectangle on the screen : look at number 4 in the previous picture... usually something is in bold
(AndS (PROGRESS, S_BUY, P_H4) && AndS (MA_200, S_ABOVE, P_M5)) || // Progress Indicator is giving a BUY signal and we are above the moving average (look at number 1 and 2 on the screen)
(AndS (PROGRESS, S_SELL, P_H4) && AndS (MA_200, S_BELOW, P_M5))) // Progress Indicator is giving a SELL signal and we are below the moving average (look at number 1 and 2 on the screen)
Set_Rule (OP_BUYSELL, T_KEEPBUYSELL, R_J, P_SIGNAL, 1); // here I set my keepbuysell flag
// whenever we have these conditions I stay in a BUY/SELL Mode
// Now let's see when I exit
if (AndS (PROGRESS, S_BUY, P_H4) && // I have a Progress Buy Signal (number 2)
AndS (MA_200, S_ABOVE, P_M5) && // I am above the moving average (number 1)
!AndR (OP_BUY, T_STATUS, R_Q) && // I am not any more in a buy orientation (nothing bold in 4)
!OrS (PIVOT_POINT, S_ALERT, P_MN, P_W1)) // I am not in a pivot zone for the weekly and monthly
{
Set_Rule (OP_BUYSELL, T_KEEPBUYSELL, R_J, P_SIGNAL, 0); // I set my the keepbuysell mode to 0 it means that I can exit if my minimum profit for my sell trades is above 100
Set_Rule (OP_EXIT_SELL, T_STATUS, R_J, P_SIGNAL); // I set my exit rule flag to true to be able to exit ...
}
// same thing for the Buy exit
if (AndS (PROGRESS, S_SELL, P_H4) &&
AndS (MA_200, S_BELOW, P_M5) &&
!AndR (OP_SELL, T_STATUS, R_Q) &&
!OrS (PIVOT_POINT, S_ALERT, P_MN, P_W1))
{
Set_Rule (OP_BUYSELL, T_KEEPBUYSELL, R_J, P_SIGNAL, 0);
Set_Rule (OP_EXIT_BUY, T_STATUS, R_J, P_SIGNAL);
}
// Here in case I exit from one of my trades sell or buy I need to verify that if we exited from my sell trades and we are in a Sell market (D1 Progress is Sell) ,
// I want to exit rapidly from my session .. Here down is how we write it :
if (AndS(PROGRESS, S_SELL, P_D1) && // Progress indicator for D1 this time is giving a Sell signal
AndS (PROGRESS, S_BUY, P_H4) && // Progress indicator for H4 is giving a Buy signal
RValue (OP_BUYSELL, T_EXITSELL, R_J) == 1) // I've already exited my sell trades ..
{
Set_Rule (OP_EXIT, T_RULE, R_J, P_SIGNAL, -1); // I remove the rule for my exit to be able to exit for a minimum profit of 200 for all my session very quickly ... I don't want to take the risk to wait for the buy trades to make 100 as we are in a D1 SELL
Set_Rule (OP_EXIT, T_MINPROFIT, R_J, P_SIGNAL, 200);
}
// same thing for the rapid Sell exit
if (AndS(PROGRESS, S_BUY, P_D1) &&
AndS (PROGRESS, S_SELL, P_H4) &&
RValue (OP_BUYSELL, T_EXITBUY, R_J) == 1)
{
Set_Rule (OP_EXIT, T_RULE, R_J, P_SIGNAL, -1);
Set_Rule (OP_EXIT, T_MINPROFIT, R_J, P_SIGNAL, 200);
}
}
and here is the engine :
DislikedJurex
I also cannot find this file PG_Brokers.csv what what should i do?Ignored