Termos de Referência
Hi
i would like to transform this indicator to PIn( Plug in Play ) ts trend
Function Up and Down and compatible with all time frames
Function
pin 1- to 9
compatible to work with EAX DASHBOARD (
EXAMPLE : EAX_moving working Pin ( Picture )
EXAMPLE : Pin baluda, PIN Super trend
this is the example they suggest how to create a pin
voila
For make a PIN you only need make Global variable with name like "EURUSDpinX" where X is number pin. Dashboard get it automatically. If you write 0 as value is no signal. 1 buy and 2 sell.
PS: I say this if somebody want modify indicators for use it as pins...
With single pair
main() {
uchar pin;
pin = HolyGrail();
Pin::set( Symbol(), 1, pin );
}
With many pairs:
main() {
Pin * pins[ 28 ];
for( int i; i < 28; i++ )
pins =new Pin( pairs[i], 1 );
for( int i; i < 28; i++ ){
pins[ i ].set( HolyGrail( i ) );
}
}
PINS
are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action.
PINS GV names are formed by the pair name as prefix, the string "pin", and the PIN ID
as suffix, ie, a GV named
EURUSDpin1 is PIN1 for EURUSD
PIN
values can be (by now) one of:
- 0 = None
- 1 = Long
- 2 = Short
Thus,
reading PINS is just like reading these GVs, setting PINS is just like setting them, and clearing PINS is just like deleting them.
PINS GVs must be cleared once a PIN has been unloaded or changed it ID in order to
avoid leaving traces behind. (
#Post
4,659)
PIN
values can be one of:
0 = None
1 =
Long
2 = Short
Thus,
reading PINS is just like reading these GVs, and setting PINS is just like setting them.
PINS GV must be cleared once a PIN has been unloaded or changed it ID in order to avoid
leaving traces behind.